APPENDIX B CREATING PROCEDURE OF ASSEMBLY SOURCE FILE (Sub tool chain)
S5U1C88000C MANUAL II
EPSON
251
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
B.3.3 Symbol Definition Pseudo-Instructions
Symbol definition pseudo-instruction is the pseudo-instruction to define an expression with a name. The
symbol definition pseudo-instructions are as follows:
EQU SET
Name:
EQU
.....Name value setting
Format:
<name>
EQU
<expression>
Functions:
This instruction is used to define the <expression> with a <name>. The value of a name that has been
defined by this instruction may not be changed later. Nor may an EXTERNAL declared symbol be
placed on the right side of the equals sign.
Length of the expression is not restricted, but up to a 6 character hexadecimal number can be output
to the assembly list. When a 7 or more character hexadecimal number has been defined, a warning is
output.
In the sap88, the name defined by the EQU can be used in the conditional expression of the IFC
statement that hereafter occurs, or it can be used as the parameter for the IFDEF/IFNDEF statements.
[sap88 only]
Examples:
false
equ
0
;
Initialization
true
equ
-1
tablen
equ
TABFIN-TABSTA
;
Calculation of table length
nul
equ
00h
;
Defines a character string indicating ASCII characters
soh
equ
01h
stx
equ
02h
etx
equ
03h
eot
equ
04h
enq
equ
05h
Related items:
SET, IFC, IFDEF, IFNDEF, REPT
Limitation:
The <name> description must begin from the 1st column.