Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

2nd Edition

0471180742, 978-0471180746

More Books

Students also viewed these Databases questions