beautypg.com

Zilog Z8F0130 User Manual

Page 97

background image

UM013037-1212

Project Menu

Zilog Developer Studio II – Z8 Encore!

User Manual

73

Defines

The

Defines

field is equivalent to placing <symbol>

EQU

<value> in your assembly source

code. It is useful for conditionally built code. Each defined symbol must have a corre-
sponding value (<name>=<value>). Multiple symbols can be defined and must be sepa-
rated by commas.

Generate Assembly Listing Files (.lst)

When selected, the

Generate Assembly Listing Files (.lst)

checkbox tells the assembler

to create an assembly listing file for each assembly source code module. This file displays
the assembly code and directives, as well as the hexadecimal addresses and op codes of
the generated machine code. The assembly listing files are saved in the directory specified
by the Intermediate

Files Directory

field in the

General

page (see the

Intermediate Files

Directory

section on page 71). By default, this checkbox is selected.

Expand Macros

When selected, the

Expand Macros

checkbox tells the assembler to expand macros in the

assembly listing file.

Page Width

When the assembler generates the listing file, the

Page Width

field sets the maximum

number of characters on a line. The default is 80; the maximum width is 132.

Page Length

When the assembler generates the listing file, the

Page Length

field sets the maximum

number of lines between page breaks. The default is 56.

Jump Optimization

When selected, the

Jump Optimization

checkbox allows the assembler to replace relative

jump instructions (JR and DJNZ) with absolute jump instructions when the target label is
either

outside of the +127 to –128 range

For example, when the target is out of range, the assembler changes

DJNZ r0, lab

to

DJNZ r0, lab1

JR lab2

lab1:JP lab

lab2:

external to the assembly file