Home » 8085 Microprocessor » 8085 microprocessor miscellaneous » Question

8085 microprocessor miscellaneous

8085 Microprocessor

  1. In an 8085 microprocessor, the contents of the Accumulator, after the following instructions are executed will become
    XRA A
    MVIB F0H
    SUB B
    1. 01 H
    2. 0F
    3. F0H
    4. 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



Your comments will be displayed only after manual approval.