![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/9b/f9b98958-91a3-43da-a082-309cb7a01b05/f9b98958-91a3-43da-a082-309cb7a01b05-bg4e.png)
66 EPSON S5U1C62000A MANUAL
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
CHAPTER 5: ASSEMBLER
Precautions
• The assembler only permits backward reference of a Define name. Therefore the name definition must
precede the use of it.
• Once a Define name is defined, it cannot be canceled. However, redefinition can be made using
another Define name.
Example:
#define MemX1 mx
#define MemX2 MemX1
ldpx MemX2,my ... Expanded to "ldpx mx, my".
• When the same Define name is defined duplicatedly, an error will result.
• No other characters than delimiters (space, tab, line feed, and comma) can be added before and after a
Define name in the source. However, an operator can be added to a Define name string without
delimiters.
Examples:
#define L LABEL
ld a,(L^h>>4)&0b00001111 ... Replaced with "ld a, LABEL[7:4]".
ld b,(L^l)&0b00001111 ... Replaced with "ld b, LABEL[3:0]".
• The internal preprocess part of the assembler does not check the validity of a statement as the result of
the replacement of the character string.