Samsung S3P80C5 User Manual page 57

8-bit cmos microcontrollers
Table of Contents

Advertisement

ADDRESSING MODES
INDEXED ADDRESSING MODE (Continued)
4 Bit Working
Register Address
Sample Instructions:
LDC
LDE
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
3-8
Program Memory
OFFSET
dst/src
x
OPCODE
8 Bits
R4, #04H[RR2]
; The values in the program address (RR2 + 04H) are
R4,#04H[RR2]
; Identical operation to LDC example, except that
Register File
MSB Points to
RP0 or RP1
~
Next 2 Bits
Point to Working
Register Pair
(1 of 4)
LSB Selects
Program Memory
Data Memory
+
16 Bits
16 Bits
loaded into register R4.
external program memory is accessed.
S3P80C5/C80C5/C80C8
RP0 or RP1
Selected
RP Points
to Start of
~
Working
Register
Block
Register
Pair
or
Value used In
OPERAND
Instruction
16-Bit
Address
Added to
Offset

Advertisement

Table of Contents
loading

This manual is also suitable for:

S3c80c5S3c80c8

Table of Contents