Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For the following memory locations and CPU registers, find what operations will be executed by the CPU and what values will registers and memory be

For the following memory locations and CPU registers, find what operations will be executed by the CPU and what values will registers and memory be updated to similar to the example listed in Fig. 3.5 in Chapter 3
Memory CPU Registers
3001540
3015541
3022541
5400001
5410002
5420003
300 PC
AC
1540 IR
STEP 1
Memory CPU Registers
3001540
3015541
3022541
5400001
5410002
5420003
301 PC
AC
1540 IR
STEP 2
Memory CPU Registers
3001540
3015541
3022541
5400001
5410002
5420003
(a) Instruction format
(b) Integer format
Program Counter (PC)= Address of instruction
Instruction Register (IR)= Instruction being executed
Accumulator (AC)= Temporary storage
(c) Internal CPU registers
0001= Load AC from Memory
0010= Store AC to Memory
0101= Add to AC from Memory
(d) Partial list of opcodes
Figure 3.4 Characteristics of a Hypothetical Machine
For the following memory locations and CPU registers, find what
operations will be executed by the CPU and what values will registers
and memory be updated to similar to the example listed in Fig. 3.5 in
Chapter 3
301 PC
AC
IR
STEP 3
Memory CPU Registers
3001540
3015541
3022541
5400001
5410002
5420003
302 PC
AC
IR
STEP 4
Memory CPU Registers
3001540
3015541
3022541
5400001
5410002
5420003
302 PC
AC
IR
STEP 5
Memory CPU Registers
3001540
3015541
3022541
5400001
5410002
5420003
303 PC
AC
IR
STEP 6
image text in transcribed

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

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions

Question

What are colligative properties?

Answered: 1 week ago