Answer to Question #262707 in Computer Networks for hifly

Question #262707

Consider that R1 and R2 both are 8 bit registers and contains 11110000 and 00110110 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) Decrement R1

(ii) Add R1 and R2 with carry

(iii)AND R1 and R2

(iv) Shift right R1


1
Expert's answer
2021-11-11T07:30:03-0500
  1. Decrement R1 = 1110 1111
  2. Add R1 and R2 with carry = (1) 0010 0110
  3. AND R1 and R2 = 0011 0000
  4. Shift right R1 = 1111000

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS