beautypg.com

End equ, See the – Zilog Z8F0130 User Manual

Page 328

background image

Using the Macro Assembler

UM013037-1212

304

Zilog Developer Studio II – Z8 Encore!
User Manual

Synonym

.block

Syntax

<define_storage> =>

DS

<value>

Examples

NAME: DS 10 ; Reserve 10 bytes of storage.

DS 22 ; Reserve 22 bytes of storage.

END

Informs the assembler of the end of the source input file. If the operand field is present, it
defines the start address of the program. During the linking process, only one module can
have a start address; otherwise, an error results. The END directive is optional for those
modules that do not need a start address.

Any text found after an END directive is ignored.

Synonym

.end

Syntax

<end_directive> =>

END

[<expression>]

Example

END start ; Use the value of start as the program start address.

EQU

Assigns symbolic names to numeric or string values. Any name used to define an equate
must not have been previously defined. Other equates and label symbols are allowed in the
expression, provided they are previously defined. Labels are not allowed in the expres-
sion.

There are restrictions on exporting

EQU

-defined symbolic names using the

XDEF

directive

or importing them using

XREF

. Specifically, a floating-point, string or symbolic register

Note:

Note: