![Samsung S3P80C5 User Manual Download Page 57](http://html1.mh-extra.com/html/samsung/s3p80c5/s3p80c5_user-manual_3993739057.webp)
ADDRESSING MODES
S3P80C5/C80C5/C80C8
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
dst/src
OPCODE
Program Memory
x
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 2 Bits
Register
Pair
Value used In
Instruction
8 Bits
16 Bits
16 Bits
+
~
~
NOTE:
LDE command is not available, because an external interface is not implemented for
the S3C80C5/C80C8/C80C4.
Figure 3-8. Indexed Addressing to Program or Data Memory with Short Offset
Summary of Contents for S3P80C5
Page 2: ...S3P80C5 C80C5 C80C8 8 BIT CMOS MICROCONTROLLERS USER S MANUAL Revision 1 ...
Page 5: ......
Page 13: ......
Page 15: ......
Page 17: ......
Page 19: ......
Page 49: ...ADDRESS SPACES S3P80C5 C80C5 C80C8 2 20 NOTES ...
Page 197: ...INSTRUCTION SET S3P80C5 C80C5 C80C8 6 88 NOTES ...
Page 201: ...CLOCK CIRCUITS S3P80C5 C80C5 C80C8 7 4 NOTES ...
Page 237: ...TIMER 1 S3P80C5 C80C5 C80C8 11 6 NOTES ...
Page 245: ...COUNTER A S3P80C5 C80C5 C80C8 12 8 NOTES ...
Page 255: ......
Page 257: ......
Page 259: ......
Page 261: ......