Solved Examples · Example 10
Q.Multiply OE2H and 7FH, the result A will have lower byte and B will have upper byte.
Karnataka PUCTextbookNumericImportance★★★★★est
44% · 51/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]
MUL AB on 0E2H and 7FH gives the product 701EH: A = 1EH (low byte), B = 70H (high byte).
Concept - MUL AB. MUL AB multiplies the unsigned byte in A by the unsigned byte in B and returns a 16-bit product, low byte in A and high byte in B.
Program:
MOV A, #0E2H ; load 0E2H into A
MOV B, #7FH ; load 7FH into B
MUL AB ; A x B, product in B: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.