. IF PC= 682 , AR=123 , DR=A2BF, IR= 5672, then execute the following
M[AR] DR
IR M[AR]
Determine the value of IR after the execution and comment on the type of addressing
Comment: Direct Address Instruction has its operand address specified directly in the instruction, but the Indirect Address Instruction has the address of the operand’s address, i.e. not directly the address of the operand. Direct Address Instruction: needs 2 visits to memory. The 1st one is to fetch the instruction, 2nd is to bring the operand.
These can be represented as follows after execution:
Comments
Leave a comment