Quiz 8.3

DIRECTIONS: Read each question carefully. Then click on the dot next to the answer that most closely fits the question. Try to answer all questions on this quiz and when you are done, click on the grade me button at the bottom.


Coverage: Section 8.3

  1. What do we call wires such as LD and MUX?
decision points
signal wires
instruction wires
control points

  1. How many wires are there in the CSC-1 that tell the ALU which operation to do? These are the mini-instructions inside the ALU, denoted by the F wires.
1
2
3
4

  1. Which of the following wires gets set to the indicated value when the RTL is A <- S?
A-LD=1
A-LD=0
S-LD=1
F=101

  1. How many wires are there in the S set? These are the wires that tell the shifter which micro-operation to do.
1
2
3
4

  1. If the RTL is if z=1 then PC <- x, which two wires are ANDed together to control PC-LD?
JZ and N
JNZ and Z
JMP and JZ
JMP and Z
JZ and Z

  1. If the RTL is S <- A, what else do we have to do in addition to setting S-LD to 1?
put a value on the S-MUX wire to allow the value on A's output wires to flow through S's MUX into S
make sure the proper opcode is set
set all other data wires to 0 so there will be no interference
put a value on the A-MUX wire to allow the value on A's output wires to flow into S

  1. What memory operation does the following chunk of RTL trigger?
                   ... <- m[x]
    
    x is put into MAR, we then set MA=1 and WR=1, wait, and copy out the new value from the MBR into wherever
    x is put into MAR, we then set MA=1 and WR=0, wait, and copy out the new value from the MBR into wherever
    put a new value into MBR, set MA=1 and WR=0, wait, and then copy out the new value from the MAR into wherever