Problem

Manually simulate the single-cycle computer in Figure for the following sequence of instru...

Manually simulate the single-cycle computer in Figure for the following sequence of instructions, assuming that each register initially contains contents equal to its index (i.e., R0 contains 0, R1 contains 1, and so on):

ADD R0, R1, R2

SUB R3, R4, R5

SUB R6, R7, R0

ADD R0, R0, R3

SUB R0, R0, R6

ST R7, R0

LD R7, R6

ADI R0, R6, 2

ADI R3, R6, 3

Give (a) the binary value of the instruction on the current line of the result sand (b) the contents of any register changed by the instruction, or the location and contents of any memory location changed by the instruction on the next line of the results. The results are positioned in this fashion because the new values do not appear in a register or memory, due to the execution of an instruction, until after a positive clock edge has occurred.

Figure Block Diagram for a Single-Cycle Computer

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 10