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 01001010 and 11100111 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 R1
(ii) AND of R1 and R2
(iii) Shift Right R1 twice
(iv) Decrement R1
(i) Subtract R2 from R1
(ii) AND of R1 and R2
(iii) Shift Right R1 twice
(iv) Decrement R1
0 comments:
Post a Comment
Let us know your responses and feedback