APPENDIX B CREATING PROCEDURE OF ASSEMBLY SOURCE FILE (Sub tool chain)
242
EPSON
S5U1C88000C MANUAL II
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
B.2.12 Addressing Mode
The S1C88 determines the execution address according to the following 12 types of addressing modes.
Table B.2.12.1 List of S1C88 addressing modes
Refer to the "S1C88 Core CPU Manual" for details on each addressing mode. The notation rules for the
operands corresponding to these addressing modes are as follows.
Table B.2.12.2 Notation rules for operands
No.
Notation rule
1
A "#" is to be placed in front of numeric expressions and symbols
2
Register name is to be written directly
3
Index register is to be enclosed by brackets ([ ])
4
Index register and displacement are to be enclosed by brackets ([ ])
5
Index re L is to be enclosed by brackets ([ ])
6
A "BR:" is to be placed in front of numeric expressions and enclosed by brackets ([ ])
7
Numeric expressions and symbols are to be enclosed by brackets ([ ])
8
Numeric expressions and symbols are to be enclosed by brackets ([ ])
9
Numeric expressions and symbols are to be enclosed by brackets ([ ])
10
Numeric expressions and symbols are to be written directly
11
Numeric expressions and symbols are to be written directly
12
None
No.
Addressing mode
1
Immediate data addressing
2
Register direct addressing
3
Register indirect addressing
4
Register indirect addressing with displacement
5
Register indirect addressing with index register
6
8-bit absolute addressing
7
16-bit absolute addressing
8
8-bit indirect addressing
9
16-bit indirect addressing
10
Signed 8-bit PC relative addressing
11
Signed 16-bit PC relative addressing
12
Implied register addressing