Question: Consider thConsider the hypothetical processor with instruction format seen below: In class, we saw an example that considered three instruction opcodes. For this question, we
Consider thConsider 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.e 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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
