Immediate Mode (Im) - Samsung S3F80P5X User Manual

S3f80p5 microcontrollers
Table of Contents

Advertisement

ADDRESSING MODES

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.
3-14
Program Memory
OPERAND
OPCODE
(The operand value is in the instruction)
Sample Instruction:
LD
R0,#0AAH
Figure 3-14. Immediate Addressing
S3F80P5_UM_ REV1.00

Advertisement

Table of Contents
loading

Table of Contents