Debug, Define, Format – Zilog ZUSBOPTS User Manual
Page 293: Debug define format, Syntax, Example

UM017105-0511
Linker Commands
Zilog Developer Studio II – ZNEO™
User Manual
265
DEBUG
The
DEBUG
command causes the linker to generate debug information for the debugger.
This option is applicable only if the executable file is IEEE 695.
Syntax
[
-
]
DEBUG
DEFINE
The
DEFINE
command creates a user-defined public symbol at link time. This command is
used to resolve external references (
XREF
) used in assemble time.
Syntax
DEFINE
=
<symbol name> is the name assigned to the public symbol.
<expression> is the value assigned to the public symbol.
Example
DEFINE copy_size = copy top of data_seg - copy base of data_seg
Refer to the
section on page 273 for the format to write an expression.
FORMAT
The
FORMAT
command sets the executable file of the linker according to the following
table.
The default setting is
IEEE 695
.
Syntax
[
-
]
FORMAT
=
File Type
Option
File Extension
IEEE 695 format
OMF695
.lod
Intel 32-bit
INTEL32
.hex
Note: