Question: For the stack-based ALU shown in Figure, derive the micro operation sequences needed for the following operations:
a. SHR: Shift the contents of top level right, once.
b. COMP: Replace the top level with its 2s complement. (Assume that the functional unit can perform the 2s complement of operand X.)
c. SUB: SL ← SL - TL,POP.