ADDRESSING MODES

S3C84E5/C84E9/P84E9

 

 

IMMEDIATE MODE (IM)

In Immediate (IM) addressing mode, the operand value used in the instruction is the value supplied in the operand field itself. The operand may be one byte or one word in length, depending on the instruction used. Immediate addressing mode is useful for loading constant values into registers.

Program Memory

OPERAND

OPCODE

(The Operand value is in the instruction)

Sample Instruction:

LD R0,#0AAH

Figure 3-14. Immediate Addressing

3-14

Page 69
Image 69
Samsung S3C84E5 user manual Immediate Mode IM, Operand Opcode, LD R0,#0AAH