Samsung S3F80JB Universal Remote User Manual


 
ADDRESSING MODES S3F80JB
3-8
INDEXED ADDRESSING MODE (Continued)
Register File
OPERAND
Program Memory
or
Data Memory
Point to Working
Register Pair
(1 of 4)
LSB Selects
16-Bit
address
added to
offset
RP0 or RP1
MSB Points to
RP0 or RP1
Selected
RP points
to start of
working
register
block
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 data memory is accessed.
NEXT 2 BITS
Register
Pair
Value used in
Instruction
8-Bit
16-Bit
16-Bit
dst/src
OPCODE
Program Memory
x
OFFSET
4-bit Working
Register Address
+
NOTE:
LDE command is not available, because an external interface is not implemented
for the S3F80JB.
~ ~
Figure 3-8. Indexed Addressing to Program or Data Memory with Short Offset