The 4 bit registers R1 and R2 initially have the following values.
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 the symbol of Ex-OR.)
Show answerHide answer
Correct answer: (A) R1: 0110, R2: 1100
Explanation
1010 ⊕ 1100 = 0110, and this result is stored in R1. R2 is only read, so it stays 1100.