Question: Problem 1 a) An instruction is stored at location 500 with its address field at location 505. The address field has the value 300. The

 Problem 1 a) An instruction is stored at location 500 with

Problem 1 a) An instruction is stored at location 500 with its address field at location 505. The address field has the value 300. The location 300 contains the value 140. Registers R1, R2, and R3 contains the values 105, 205 and 305 respectively. What is the effective address of the instruction operand for each of the following addressing modes? Show your work. i. Immediate ii. PC-relative iii. Direct Addressing mode iv. Indirect Addressing mode V. Register Indirect if the location 505 contains the value 2 instead of 300. vi. Indexed assuming that R3 is the index register. [6 marks] b) Explain the difference between indirect register addressing mode and indexed addressing mode. [4 marks] [Q1 Total: 10 marks]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!