beautypg.com

Assembler command line options, Table 23 – Zilog Z8F0130 User Manual

Page 506

background image

Appendix C. Running ZDS II from the Command Line

UM013037-1212

482

Zilog Developer Studio II – Z8 Encore!
User Manual

SET PATH=%PATH%;C:\Program

Files\Zilog\ZDSII_Z8Encore!_4.11.0\bin

The make utility is available in this directory.

3. Type

PATH

again to see the new path.

4. Open the make file in a text editor.

5. In a Command Prompt window, enter the path to the linker and your linker file.


For example:

ez8link @"C:\Program Files\Zilog\ZDSII_Z8Encore!_4.11.0\sam-

ples\F083A\F083A_ledBlink\src\ledblink_Debug.linkcmd"

Assembler Command Line Options

The following table describes the assembler command line options.

If you use DOS, use double quotation marks for the

-stdinc

and

-usrinc

commands for

the C compiler.


For example:


-stdinc:"C:\ez8\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:\ez8\include}'

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

Note: