Epson S5U1C63000A Computer Accessories User Manual


 
CHAPTER 4: ASSEMBLER
52 EPSON S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
Restrictions
Only one statement can be described in one line. A description containing more than two instructions
in one line will result in an error. However, a comment or a label may be described in the same line
with an instruction.
Example:
;OK
BOOT: ld %f,0x4
;Error
BOOT: ld %f,0x4 ld %a,0x0
One statement cannot be described in more than one line. A statement that cannot complete in one
line will result in an error.
Example:
.word 0x0,0x1,0x2,0x3 ... OK
.word 0xa,0xb,0xc,0xd ... OK
.word 0x0,0x1,0x2,0x3
0xa,0xb,0xc,0xd ... Error
The maximum describable number of characters in one line is 259 (ASCII characters). If this number is
exceeded, an error will result.
The usable characters are limited to ASCII characters (alphanumeric symbols), except for use in
comments. Also, the usable symbols have certain limitations (details below).
The reserved words such as mnemonics and pseudo-instructions are all not case sensitive, while the
user defined items such as labels and symbols are all case sensitive if the -c option is not specified.
Therefore, mnemonics and pseudo-instructions can be written in uppercase (A–Z) characters, lower-
case (a–z) characters, or both. For example, "ld", "LD", and "Ld" are all accepted as "ld" instructions.
For purposes of discrimination from symbols, this manual uses lowercase characters for the reserved
words.