ADDRESSING MODES

S3C84E5/C84E9/P84E9

 

 

INDIRECT REGISTER ADDRESSING MODE (Continued)

Program Memory

4-bit Working

Register Address

dst src

OPCODE

Example Instruction References either Program Memory or Data Memory

Sample Instructions:

MSB Points to RP0 or RP1

Next 2-bit Point

to Working

Register Pair

(1 of 4)

LSB Selects

Value used in Instruction

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

LCD

R5,@RR6

LDE

R3,@RR14

LDE

@RR4, R8

;Program memory access

;External data memory access

;External data memory access

Figure 3-6. Indirect Working Register Addressing to Program or Data Memory

3-6

Page 61
Image 61
Samsung S3C84E5 user manual Lcd, Lde