Samsung S3F80JB User Manual

Page 67

Advertising
background image

ADDRESSING MODES

S3F80JB

3-14

IMMEDIATE MODE (IM)

In Immediate (IM) 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.

(The operand value is in the instruction)

OPCODE

Sample Instruction:

LD R0,#0AAH

Program Memory

OPERAND

Figure 3-14. Immediate Addressing

Advertising