Tutorial 10: Processor Part 2

Note

This is for practice, not for marks. Treat this as additional study material to help you develop your knowledge and skills on these topics. During the tutorial session, the TA will explain how to solve these problems.

Question 1

Consider the arm instruction ADD R3, R4, #10. For this instruction, find the control signals of each stage similar to slide 43 of lecure 6, which only shows stage 1, but we want to have all the signals for all the stages, for all control signals appearing on slide 39 –41

Question 2

Microinstructions are computer instructions that activates the circuits necessary to perform single machine operation usually, as part of the execution of a machine language instruction. The values of the control signals for each clock period are stored in a microinstruction (control word) in a special memory. From decoding of an instruction in IR, the control circuitry executes the corresponding sequence of microinstruction. Microprogramming provides the flexibility needed to implement more complex instructions in CISC processors.

Convert the following CISC instruction AND X(R7), R9 (semantic is Mem[X+R7] = Mem[X+R7] AND R9, where X is an immediate value), into a series of micro instructions (RISC instructions).