Table 23, Assembler command line options – Zilog ZUSBOPTS User Manual
Page 380
Assembler Command Line Options
UM017105-0511
352
Zilog Developer Studio II – ZNEO™
User Manual
Table 23. Assembler Command Line Options
Option Name
Description
-cpu:
name
Sets the CPU.
-debug
Generates debug information for the symbolic debugger. The default set-
ting is -nodebug.
-define:
name[=value]
Defines a symbol and sets it to the constant value. For example:
-define:DEBUG=0
This option is equivalent to the C #define statement. The alternate syntax,
-define:
myvar, is the same as -define:myvar=1.
-FP=Qn
The ZNEO architecture allows you to specify which quad register is to be
used as the frame pointer, which is implicitly used in the LINK and UNLNK
instructions. The assembler accepts FP as a quad register, and the FP
command line option and directive tell the assembler which quad register
to use as the frame pointer.
-genobj
Generates an object file with the .obj extension. This is the default set-
ting.
-help
Displays the assembler help screen.
-igcase
Suppresses case sensitivity of user-defined symbols. When this option is
used, the assembler converts all symbols to uppercase. This is the default
setting.
-include:
path
Allows the insertion of source code from another file into the current
source file during assembly.
-list
Generates an output listing with the .lst extension. This is the default
setting.
-listmac
Expands macros in the output listing. This is the default setting.
-listoff
Does not generate any output in list file until a directive in assembly file
sets the listing as on.
-MAXBRANCH=
<expression>
The MAXBRANCH directive allows control over how large a branch the
assembler generates in the jump translation phase, especially when the
label branched to is in a separate assembly unit, so the assembler must
assume the largest possible branch. A possible use of the command line
option is in an application expected to fit in 64K of code space so that no
branches of more than a 16-bit offset are required. Use the directive to
override the command line option to impose either a stricter or more
lenient requirement.
-metrics
Keeps track of how often an instruction is used. This is a static rather than
a dynamic measure of instruction frequency.
-name
Displays the name of the source file being assembled.