Immediate Addressing


This addressing mode allows that constants be set up at the time of programming the code. Actual operands can be used, for examples: ADD.L #7,D0. This instruction adds the number 9 to the contents of data register D0. The 7 is an immediate operand because the microprocessor does not have to carry out further memory access to obtain it. The symbol (#)  precedes the operand and indicates to the assembler that the following value is to be used with the immediate addressing mode. The MC68000 permits byte, word ,and longword immediate operands.



back