Vidyalelo
ECE · Q215

Microprocessors And Microcontrollers

Engineering and GATE · ECE · question 215

Q215

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
Answer
C.
A = 00h, B = 05h, OV = 0
D.
A = 05h, B = 00h, OV = 1

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board