13. Suppose we have the instruction Load 1000. Given that memory and register R1 contain the values below:
Assuming R1 is implied in the indexed addressing mode, determine the actual value loaded into the accumulator and fill in the table below:
Immediate Addressing Mode: is so-named because the value to be referenced immediately follows the operation code in the instruction .
Direct Addressing Mode: Mode: is so-named because the value to be referenced is obtained by specifying its memory address directly in the instruction .
Indirect Addressing mode : In this mode , the bits in the address field specify a memory address that is to be used as a pointer. The effective address of the operand is found by going to this address.
Indexed Addressing mode: A index register(either Explicitly or implicitly designated ) is used to store an offset, which is added to the operand resulting in the effective address of the data.
From the given information, the following results have generated:
Mode |
Value loaded into AC |
Immediate Addressing Mode |
1000 |
Direct Addressing Mode |
1400 |
Indirect Addressing Mode |
1300 |
Indexed Addressing Mode |
1000 |