Computer Architecture Consider a computer that has a number of registers such that the three registers R0 =1500, R1 = 4500, and R2 = 1000. Show the effective address of memory and the registers’ contents in each of the following instructions (assume that all numbers are decimal & Instruction format Op-Code Source, Destination). 1. ADD (R1), R2 2. MOVE 500(R0), R2 3. ADD (40), R1 4. SUBTRACT (5000), R2 5. ADD #30, 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
100%

Computer Architecture

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

R0 =1500, R1 = 4500, and R2 = 1000.

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

(assume that all numbers are decimal & Instruction format Op-Code Source, Destination).

1. ADD (R1), R2

2. MOVE 500(R0), R2

3. ADD (40), R1

4. SUBTRACT (5000), R2

5. ADD #30, 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