Computer Architecture Consider a computer that has a number of registers such that the three registers R0 = 1500 R1 = 4500 R2 = 1000 Show the effective address of memory and the registers’ contents in each of the following instructions (assume that all numbers are decimal). 1. ADD (R0)+, R2 2. SUBTRACT - (R1), R2 3. MOVE 500(R0), R2 4. LOAD #5000, R2 5. STORE R0, 100(R2)

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter12: Event-driven Gui Programming, Multithreading, And Animation
Section: Chapter Questions
Problem 17RQ
icon
Related questions
Question

Computer Architecture

Consider a computer that has a number of registers such that the three registers

R0 = 1500
R1 = 4500
R2 = 1000

Show the effective address of memory and the registers’ contents in each of the following instructions

(assume that all numbers are decimal).

1. ADD (R0)+, R2

2. SUBTRACT - (R1), R2

3. MOVE 500(R0), R2

4. LOAD #5000, R2

5. STORE R0, 100(R2)

Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Fundamentals of Computer System
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
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning