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