beautypg.com

Running the assembler from the command line, Running the linker from the command line, Assembler command line options – Zilog ZUSBOPTS User Manual

Page 379

background image

UM017105-0511

Running the Assembler from the Command Line

Zilog Developer Studio II – ZNEO™

User Manual

351

Running the Assembler from the Command Line

To run the assembler from the command line:

1. Open the make file in a text editor.

2. Copy the options in the AFLAGS section.

3. In a Command Prompt window, enter the path to the assembler, the options from the

AFLAGS section (on a single line and without backslashes), and your assembly file.
For example,

C:\PROGRA~1\Zilog\ZDSII_ZNEO_4.11.0\bin\eZ8asm -debug -genobj -

NOigcase

-include:"..\include" -list -NOlistmac -name -pagelen:56 -

pagewidth:80 -quiet -warn -NOzmasm -cpu:z8f64 test.asm

Running the Linker from the Command Line

To run the linker from the command line:

1. Open the make file in a text editor.

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

example,

C:\PROGRA~1\Zilog\ZDSII_ZNEO_4.11.0\bin\eZ8lnk

@e:\ez8\rtl\testfiles\test\test.linkcmd

Assembler Command Line Options

Table 23 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}'

Notes:

This manual is related to the following products: