Question discussion

The 4 bit registers R1 and R2 initially have the following values.R1: 1010R2: 1100What is the content of R1 and R2 after execution of this…

360044Medium DSSSB TGT Computer Science 0 replies 0 views
0

The 4 bit registers R1 and R2 initially have the following values.

R1: 1010
R2: 1100

What is the content of R1 and R2 after execution of this micro-operation?
R1 ← R1 ⊕ R2
⊕ is a symbol of Ex-OR.

  • AR1: 0110, R2: 1100
  • BR1: 1010, R2: 0110
  • CR1: 0110, R2: 0110
  • DR1: 1010, R2: 1100
Correct answer: A

Explanation

R1 ← R1 ⊕ R2 = 1010 XOR 1100 = 0110. R2 is unchanged (1100).

Discussion 0

Nobody has replied yet. Start the discussion!