-
In an 8085 microprocessor, the contents of the Accumulator, after the following instructions are executed will become
XRA A
MVIB F0H
SUB B
-
- 01 H
- 0F
- F0H
- 10 H
Correct Option: D
XRA A
A ← 00
MVIBF0
B ← F0
SUB B
A ← A – B
A ← A + (2’s complement to B)
A = 00000000
B = 11110000
2’s complement of B = 00010000
∴ A + B = (10)H