Immediate Mode (Im) - Samsung S3C80A5B User Manual

8-bit cmos
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
S3C80A5B

Advertisement

Table of Contents
loading

Table of Contents