ADDRESSING MODES
INDIRECT REGISTER ADDRESSING MODE
4-bit Working
Register Address
Example Instruction
References either
Program Memory or
Data Memory
Figure 3-6. Indirect Working Register Addressing to Program or Data Memory
3-6
Program Memory
dst
src
OPCODE
Sample Instructions:
LCD
R5,@RR6
LDE
R3,@RR14
LDE
@RR4, R8
S3C8275X/F8275X/C8278X/F8278X/C8274X/F8274X
(Concluded)
MSB Points to
RP0 or RP1
Next 2-bit Point
to Working
Register Pair
(1 of 4)
LSB Selects
Value used in
Instruction
; Program memory access
; External data memory access
; External data memory access
Register File
RP0 or RP1
Register
Pair
Program Memory
or
Data Memory
OPERAND
Selected
RP points
to start of
working
register
block
16-Bit
address
points to
program
memory
or data
memory