Question
Computer Architecture The format of this document is as follows: First, I give a practice problem for which the solution is also provided. In bold
Computer Architecture
The format of this document is as follows: First, I give a practice problem for which the solution is also provided. In bold italic font, I slightly modify the problem for your homework.
4) Suppose we have the instruction Load 1000. Given that the main memory contains the values below and also given that register R1 implied in the indexed addressing mode contains 0x200, determine the actual value loaded into the accumulator and fill in the table below.
Address Content
0x1000 | 0x1400 |
... | ... |
0x1100 | 0x400 |
... | ... |
0x1200 | 0x1000 |
... | ... |
0x1300 | 0x1100 |
... | ... |
0x1400 | 0x1300 |
Mode | Value loaded into AC |
Immediate | ? |
Direct | ? |
Indirect | ? |
Indexed | ? |
HW PROBLEM 4: Redo the question for LOAD 1200.
SOLUTION:
Mode | Value loaded into AC |
Immediate | 1000 |
Direct | 1400 |
Indirect | 1300 |
Indexed | 1000 |
We have direct and indirect addressing modes in MARIE.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started