COMP212S2005MIDTERMEXAM2P2..ID       NAME

(1c) Write the corresponding 32 bit micro code for the micro assembly language instruction "tir:=lshift(tir+ir); if N then goto 25;":

     

     

     

     

     

(1d) What are the contents of PC and TIR registers after the execution of the above micro instruction if "PC=0F2A, IR=E22C, TIR=FFF0" before the execution ?

     

     

(1e) How many cycles of Level 0 machine needed to fetch, decode and execute the macro instruction "DESP 5D" ? Write down the path (a series of the line numbers in (1)) of micro instructions to perform this operation.

     

     

     

     

     

     

     

     

(1f) What is SMASK register in Level 1 Machine ?