Answered step by step
Verified Expert Solution
Question
1 Approved Answer
ab Description Part I 1 ) Consider the hypothetical processor with instruction format seen below: In class, we saw an example that considered three instruction
ab Description Part I
Consider the hypothetical processor with instruction format seen below:
In class, we saw an example that considered three instruction opcodes. For this question,
we add two more for a total of five. They full set of opcodes, in binary, is as follows:
Load AC from memory Load AC from IO device
Store AC to memory Store AC to IO device
Add to AC from memory
For the new opcodes and the address field in the instruction refers to some
external IO device. Show the execution for a program that does the following:
Load AC from device address
Add contents of memory location
Store AC to device address
In your answer, it is enough to show the contents of the registers at each step. The initial
state of the CPU, in the same format we saw in class, can be seen in the first fetch stage on
the next page. You must fill in the memory and register values for this initial fetch stage and
all remaining instruction cycles. Use Hexadecimal digits when filling in the stages.
Consider the multilevel memory profile below:
Level : bytes t access time
Level : KB t access time
Below what hit ratio is this multilevel scheme doing more harm than good? Put another
way, at what hit ratio would we be better off with just level memory? Refer to the hit
ratio example in the slides to get started.
Fetch stage Execute stage
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