beautypg.com

Assembler command line options – Zilog EZ80F916 User Manual

Page 401

background image

UM014423-0607

Running ZDS II from the Command Line

ZiLOG Developer Studio II

eZ80Acclaim!

®

User Manual

381

2. In a Command Prompt window, type the path to the linker and your linker file. For

example:

C:\PROGRA~1\ZiLOG\ZDSII_eZ80Acclaim!_4.11.0\bin\eZ80lnk @e:\ez80\rtl\testfiles\test\test.linkcmd

ASSEMBLER COMMAND LINE OPTIONS

The following table describes the assembler command line options.

NOTE: If you use DOS, use double quotation marks for the

-stdinc

and

-usrinc

commands for the C compiler. For example:

-stdinc:"C:\eZ80\include"

If you use cygwin, use single quotation marks on both sides of a pair of braces for the

-stdinc

and

-usrinc

commands for the C compiler. For example:

-stdinc:'{C:\eZ80\include}'

Table 13. Assembler Command Line Options

Option Name

Description

-cpu:

name

Sets the CPU.

-debug

Generates debug information for the symbolic debugger. The default setting 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

.

-genobj

Generates an object file with the

.obj

extension. This is the default setting.

-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.

-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.

This manual is related to the following products: