Indexed Addressing To Program Or Data Memory With Short Offset - Samsung S3C8275X User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

ADDRESSING MODES
INDEXED ADDRESSING MODE
4-bit Working
Register Address
Sample Instructions:
LDC
LDE
Figure 3-8. Indexed Addressing to Program or Data Memory with Short Offset
3-8
(Continued)
Program Memory
OFFSET
dst/src
x
OPCODE
LSB Selects
8-Bits
R4, #04H[RR2]
R4,#04H[RR2]
S3C8275X/F8275X/C8278X/F8278X/C8274X/F8274X
Register File
MSB Points to
RP0 or RP1
RP0 or RP1
~
NEXT 2 Bits
Point to Working
Register Pair
(1 of 4)
Program Memory
Data Memory
+
16-Bits
16-Bits
; The values in the program address (RR2 + 04H)
are loaded into register R4.
; Identical operation to LDC example, except that
external program memory is accessed.
Selected
RP points
to start of
~
working
register
block
Register
Pair
16-Bit
address
added to
offset
or
Value used in
OPERAND
Instruction

Advertisement

Table of Contents
loading

This manual is also suitable for:

F8275xF8274xC8278xC8274xF8278x

Table of Contents