FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726 3-13
3: I
NSTRUCTIONS
R
EFERENCE
Index Registers
16 index registers (P0 to P15) can be used, and the data type of the index register is L (long).
Example: LOD M10:P0
•P0=-3
This indirect addressing indicates M0005, which is 3 bits
behind of M0010.
•P0=5
This indirect addressing indicates M0015, which is five bits
ahead of M0010.
• P0=10
This indirect addressing indicates M0022, which is 10 bits
ahead of M0010.
M0010:P0
Index register
LOD Instruction
M0005
M0006
M0007
M0010
-3
3
2
1
P0
-3
M0010:P0
Index register
LOD Instruction
M0010
M0011
M0012
M0013
M0014
M0015
+5
1
2
3
4
5
P0
5
M0010:P0
LOD Instruction
M0010
M0011
M0012
M0013
M0014
M0015
+10
1
2
3
4
5
M0016
M0017
M0020
M0021
M0022
6
7
8
9
10
P0
10
Index register