Download ZiLOG Developer Studio II--ZNEO User Manual

Transcript
ZiLOG Developer Studio II
ZNEO™ User Manual
208
<arg>
=>
macro argument
<public_definition>
=>
PUBLIC<ident list>
EXTERN<ident list>
<scalar_definition>
=>
<type>[<value>]
<segment_definition =>
>
DEFINE<ident>[<space_clause>]
[<align_clause>][<org_clause>]
<space_clause>
=>
,SPACE=<space>
<align_clause>
=>
,ALIGN=<int_const>
<org_clause>
=>
,ORG=<int_const>
<space>
=>
(RAM|ROM|ERAM|EROM|IODATA)
WARNING AND ERROR MESSAGES
This section covers warning and error messages for the assembler.
400 Symbol already defined.
The symbol has been previously defined.
401 Syntax error.
General-purpose error when the assembler recognizes only part of a source line. The
assembler might generate multiple syntax errors per source line.
402 Symbol XREF'd and XDEF'd.
Label previously marked as externally defined or referenced. This error occurs when
an attempt is made to both XREF and XDEF a label.
403 Symbol not a segment.
The segment has not been previously defined or is defined as some other symbol type.
404 Illegal EQU.
The name used to define an equate has been previously defined or equates and label
symbols in an equate expression have not been previously defined.
405 Label not defined.
The label has not been defined, either by an XREF or a label definition.
406 Illegal use of XREF's symbol.
XDEF defines a list of labels in the current module as an external symbol that are to be
made publicly visible to other modules at link time; XREF specifies that a list of
labels in the operand field are defined in another module.
UM017103-0207
4 Using the Macro Assembler