2 CROSS ASSEMBLER ASM6008
6
EPSON
S5U1C60N08D MANUAL
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
EQU
SET
DW
ORG
PAGE
SECTION
END
MACRO
LOCAL
ENDM
To allocate data to label
To allocate data to label
(data can be changed)
To define ROM data
To define location counter
To define boundary of page
Pseudo-instruction
(Equation)
(Set)
(Define Word)
(Origin)
(Page)
(Section)
(End)
(Macro)
(Local)
(End Macro)
To define boundary of section
To terminate assembly
To define macro
To make local specification of label
during macro definition
To end macro definition
Meaning
Example of Use
ABC EQU 9
BCD EQU ABC+1
ABC SET 0001H
ABC SET 0002H
ABC DW 'AB'
BCD DW 0FFBH
ORG 100H
ORG 256
PAGE 1H
PAGE 3
SECTION
END
CHECK MACRO DATA
LOCAL LOOP
LOOP CP MX,DATA
JP NZ,LOOP
ENDM
CHECK 1
S
U
M
O
P
R
!
FILE NAME ERROR
FILE NOT PRESENT
DIRECTORY FULL
FATAL DISK WRITE ERROR
LABEL TABLE OVERFLOW
CROSS REFERENCE TABLE OVERFLOW
An unrecoverable syntax error was encountered.
The label or symbol of the operand has not been defined.
The label field has been omitted.
A syntax error was encountered in the operand, or the operand could
not be evaluated.
Error message
(Syntax Error)
(Undefined Error)
(Missing Label)
(Operand Error)
(Phase Error)
(Range Error)
(Warning)
Explanation
The same label or symbol was defined more than once.
•
•
•
The source file name was longer than 8 characters.
The specified source file was not found.
No space was left in the directory of the specified disk.
The file could not be written to the disk.
The number of defined labels and symbols exceeded the label table
capacity (4000).
The label/symbol reference count exceeded the cross-reference table
capacity (only when the cross-reference table is generated).
The location counter value exceeded the upper limit of the program
memory, or a location exceeding the upper limit was specified.
A value greater than that which the number of significant digits of the
operand will accommodate was specified.
Memory areas overlapped because of a "PAGE" or "ORG" pseudo-
instruction or both.
■
Pseudo-instructions
■
Error messages
Summary of Contents for S5U1C60N08D
Page 4: ......