Skip to content
Solved Examples · Example 11

Q.Divide 85 by 10

Karnataka PUCTextbookNumericImportance★★★★★est
49% · 56/115 Questions
🔒 Locked · start free trial →

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]

Put 85 in A and 10 in B, run DIV AB, and A holds the quotient 08H while B holds the remainder 05H.

Concept - DIV AB. Byte-over-byte unsigned division uses DIV AB: the numerator must be in A and the denominator in B. After execution the quotient is in A and the remainder in B. If B = 0 the overflow flag OV = 1 to flag the error; otherwise CY = 0 and OV = 0.

Program:

MOV A, #85   ; load 85 into A …

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.