Question Bank (2 marks) · Q10
Q.Write the summary of division of unsigned numbers.
Karnataka PUCTextbookShort· 2mImportance★★★★★est
46% · 53/115 Questions
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →[!TLDR]
DIV AB divides the unsigned byte in A by the byte in B, leaving the quotient in A and the remainder in B.
The 8051 divides unsigned numbers with DIV AB. The numerator (dividend) must be in A and the denominator (divisor) in B. After execution the quotient is in A and the remainder in B. The instruction clears CY = 0 and OV = 0 when the divisor is non-zero; if the divisor B = 0, the operation is invalid and the overflow flag OV is set to 1 to signal the error. Example: 85 ÷ 10 gives A = 08 (quotient) and B = 05 (remainder). …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.