The 8 bit register A and B initially have the following values.
The 8 bit register A and B initially have the following values.
A = 01110110
B = 10000101
What is the 8-bit value in each register after execution of the following micro-operation?
A ← A + B
B ← B + 1
Show answerHide answer
Correct answer: (C) A = 11111011, B = 10000110
Explanation
A + B = 01110110 (118) + 10000101 (133) = 11111011 (251), and B + 1 = 10000101 + 1 = 10000110.