E E 306 Final: f08_final
Document Summary
Tas: je rey allan, arvind chandrababu, eiman ebrahimi, aravind jakkani, khubaib, Allison korczynski, pratyusha nidamaluri, zrinka puljiz, che-chun su, christopher wiley. Note: please be sure that your answers to all questions (and all supporting work that is required) are contained in the space provided. Note: please be sure your name is written legibly on each sheet of the exam. Part a (5 points): a main program puts a value in r0, and then calls sub. Part b (5 points): the mux select line labeled addr1mux in the lc-3 data path is controlled by the output of the or-gate shown below. Complete the wiring of the inputs to the or-gate and the second input to the and gate, to achieve the correct signal for addr1mux. Part c (5 points): all instructions load the mdr during the fetch phase of the instruction cycle to fetch the instruction from memory on its way to the ir.