What will be the content of Accumulator, Register-B and Overflow flag (OV) after execution of following 8051 micro-controller assembly code?
MOV A, #65h
MOV 0F0h, #14h
DIV AB
DIV AB
A. A = 00h, B = 00h, OV = 1
B. A = 05h, B = 00h, OV = 0
C. A = 00h, B = 05h, OV = 0
D. A = 05h, B = 00h, OV = 1
Answer: Option B
Related Questions on Microprocessors and Microcontrollers
A. Circuit A has more gates than circuit B
B. Circuit B has more gates than circuit A
C. Circuit A has the same number of gates as circuit B
D. None of the above
For the number A[15:0] = 0110110010001111, A[14:13] is ______ A[3:2].
A. Less than
B. Greater than
C. The same as
D. Cannot be determined

Join The Discussion