Samsung S3F80JB manual Immediate Mode IM, Immediate Addressing

Models: S3F80JB

1 346
Download 346 pages 34.13 Kb
Page 67
Image 67

ADDRESSING MODES

S3F80JB

 

 

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.

Program Memory

OPERAND

OPCODE

(The operand value is in the instruction)

Sample Instruction:

LD R0,#0AAH

Figure 3-14. Immediate Addressing

3-14

Page 67
Image 67
Samsung S3F80JB manual Immediate Mode IM, Immediate Addressing