S3C9228/P9228 ADDRESSING MODES
3-9
INDEXED ADDRESSING MODE (Concluded)
Point to Working
Register Pair
(1 of 8)
LSB Selects
16-Bit
address
added to
offset
Program Memory
4-Bit Working
Register Address
Sample Instructions:
LDC R4, #1000H[RR2] ; The values in the program address (RR2 +
#1000H)
are loaded into register R4.
LDE R4, #1000H[RR2] ; Identical operation to LDC example, except that
external program memory is accessed.
NEXT 3 Bits
Register
Pair
8-Bits
16-Bits
+
Program Memory
or
Data Memory
OPERAND
Value used in
Instruction
16-Bits
Register File
OPCODE
XLH (OFFSET)
XLL (OFFSET)
dst src
Figure 3-9. Indexed Addressing to Program or Data Memory with Long Offset