Question: For Manos Computer design, we have the following flowchart for fetch and decode phases: The Manos computer (16 bit system) contains Registers: AR, PC, DR,

For Manos Computer design, we have the following flowchart for fetch and decode phases:

The Manos computer (16 bit system) contains Registers: AR, PC, DR, AC, IR, TR, E and Memory (4096*16). You need to do the following things:

Use random function to fill in the memory.

Start with the first Hex number (0~E)

After the first number is generated,

If the first number is 7, the rest 3 Hex number should be randomly choose one of the 12 register reference instruction number

If the first number is not 7, the rest 3 Hex number should be randomly generated number.

Design your way to implement instructions listed in Figure 2.

Fill in the Registers Value with your preference besides PC.

Use random function to choose the starting PC value. (Bounded by the memory executable spaces)

Execute consecutively 5 instructions starting with the PC value decided in (4). For each instruction, you need print out all registers in each clock cycle (just like what we did in the class and quiz).

Repeat two more times of instruction (3 different value), (4) and (5)

Check the correctness of your output.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!