Assume that you have a machine as shown in section 3.2.2 of Block 3 having the
micro-operations as given in Figure 10 on page 62 of Block 3. Consider that R1
and R2 both are 8 bit registers and contains 01111011 and 10000100 respectively.
What will be the values of select inputs, carry-in input and result of operation
(including carry out bit) if the following micro-operations are performed? (For
each micro-operation you may assume the initial value of R1 and R2 as given
above)
(i) Subtract R2 from R1with borrow
(ii) Exclusive OR of R1 and R2
(iii)Shift Left R1 twice
(iv)Increment R1
(i) Subtract R2 from R1with borrow
(ii) Exclusive OR of R1 and R2
(iii)Shift Left R1 twice
(iv)Increment R1
0 टिप्पणियाँ:
Post a Comment