User manual

38
Absolute Addressing
In LDR, DLDR, STO, and DSTO instructions, an absolute address is
used to indirectly reference a register or to utilize the built-in
communication port
.
An absolute bit address, which is often used in communication,
consists of an absolute word address and a bit number (0 to 15,
represented as $0 to $F) as shown below.
absolute bit address
For example, the absolute bit address for internal contact K127.12 is
$1BFC (hex). ($1BFC = absolute word address $01BF + bit number $C)
Classification
Register
address
Absolute
address
Dec. Hex.
External
I/O
R0 0 $0000
R1 1 $0001
R2 2 $0002
……
R126 126 $007E
R127 127 $007F
Link area
L0 128 $0080
L1 129 $0081
L2 130 $0082
……
L62 190 $00BE
L63 191 $00BF
Internal
contact
M0 192 $00C0
M1 192 $00C1
M2 194 $00C2
M3 195 $00C3
……
M126 318 $013E
M127 319 $013F
Internal Keep
contact
K0 320 $0140
K1 321 $0141
K2 322 $0142
K3 323 $0143
……
K126 446 $01BE
K127 447 $01BF
Classification
Register
address
Absolute
address
Dec. Hex.
Special
Internal
contact
F0 448 $01C0
F1 449 $01C1
F2 450 $01C2
F126 462 $01CE
F127 462 $01CF
Data area
W0 512 $0200
W1 513 $0201
W2 514 $0202
W2046 2558 $09FE
W2047 2559 $09FF
T/C
set value
SV000 2560 $0A00
SV001 2561 $0A01
SV255 2815 $0AFF
T/C
present
value
PV000 2816 $0B00
PV001 2817 $0B01
PV255 3071 $0BFF
Status
SR000 3072 $0C00
SR001 3073 $0C01
SR511 3583 $0DFF
Expansion data
area
(1)
W3072 3584 $0E00
W5119 5631 $15FF
absolute word address bit number
15 4 30
(1) Expansion data area is the memory space of 2048 words specially designed for NX-CPU700p