Indirect Register Addressing Mode (Ir); Indirect Register Addressing To Register File - Samsung S3C8275X User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

S3C8275X/F8275X/C8278X/F8278X/C8274X/F8274X

INDIRECT REGISTER ADDRESSING MODE (IR)

In Indirect Register (IR) addressing mode, the content of the specified register or register pair is the address of the
operand. Depending on the instruction used, the actual address may point to a register in the register file, to
program memory (ROM), or to an external memory space (see Figures 3-3 through 3-6).
You can use any 8-bit register to indirectly address another register. Any 16-bit register pair can be used to
indirectly address another memory location. Please note, however, that you cannot access locations C0H–FFH in
set 1 using the Indirect Register addressing mode.
8-bit Register
File Address
One-Operand
Instruction
(Example)
Sample Instruction:
RL
Program Memory
dst
OPCODE
@SHIFT
;
Where SHIFT is the label of an 8-bit register address
Figure 3-3. Indirect Register Addressing to Register File
Point to One
Register in Register
File
Address of Operand
used by Instruction
Value used in
Instruction Execution
ADDRESSING MODES
Register File
ADDRESS
OPERAND
3-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

F8275xF8274xC8278xC8274xF8278x

Table of Contents