You are asked to find the actual value that will be in the accumulator, AC, after executing each instruction in each mode, and fill in the table below: Note that for each addressing mode the value of AC is initially 500, and the execution of the second instruction depends on the previous one.

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter4: Processor Technology And Architecture
Section: Chapter Questions
Problem 15VE: A(n) ________________ instruction always alters the instruction execution sequence. A(n)...
icon
Related questions
Question

I want to solve this in detail

Given the below piece of MARIE's code:
Add 200
Subt 100
You are asked to find the actual value that will be in the accumulator, AC, after executing
each instruction in each mode, and fill in the table below:
Note that for each addressing mode the value of AC is initially 500, and the execution of the
second instruction depends on the previous one.
100
200
...
200
400
R1
Value in AC after
Add 200
200
Value in AC after
Mode
...
300
600
Subt 100
...
Indexed
400
300
Direct
500
100
Indirect
...
600
400
Immediate
...
700
300
...
1000
300
Transcribed Image Text:Given the below piece of MARIE's code: Add 200 Subt 100 You are asked to find the actual value that will be in the accumulator, AC, after executing each instruction in each mode, and fill in the table below: Note that for each addressing mode the value of AC is initially 500, and the execution of the second instruction depends on the previous one. 100 200 ... 200 400 R1 Value in AC after Add 200 200 Value in AC after Mode ... 300 600 Subt 100 ... Indexed 400 300 Direct 500 100 Indirect ... 600 400 Immediate ... 700 300 ... 1000 300
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Troubleshooting
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning