APPENDIX B CREATING PROCEDURE OF ASSEMBLY SOURCE FILE (Sub tool chain)
260
EPSON
S5U1C88000C MANUAL II
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
Name:
DEFINE
.....Character-string macro definition
Format:
DEFINE
<character-string macro name> [<substitute character-string>]
Functions:
This instruction performs a character-string macro definition. The token identical to the character-
string macro name in the source after the DEFINE statement will be replaced with a macro instruction
in the specified substitute character-string prior to the evaluation of all the statements except the
IFDEF and IFNDEF statements. In the case that a substitute character-string is not specified, it will be
replaced with a blank character-string. In addition, a character-string macro name will be subject to be
evaluated in the IFDEF or IFNDEF statements.
Example:
define
XMAX
#128
cp
a,XMAX
↓
cp
a,#128
Related items:
IDEF, IFNDEF, UNDEF
Limitation:
This pseudo-instruction can only be used in the structured preprocessor sap88. It cannot be accepted
in the asm88 and will cause an error if used.