AAM
◄Summary► ◄Detail► ◄Example► ◄Key to Flags►
──────────────────────────────────────────────────────────────────────────────
ASCII Adjust After Multiply Flags: O D I T S Z A P C
═════════════════
Syntax: AAM ? ± ± ? ± ?
Converts an 8-bit binary number less than 100 decimal in AL to an
unpacked BCD number in AX. The most significant digit goes in AH
and the least significant in AL. This instruction is often used to
adjust the product after a MUL instruction that multiplies unpacked
BCD digits in AH and AL. It is also used to adjust the quotient
after a DIV instruction that divides a binary number less than 100
decimal in AX by an unpacked BCD number.
-♦-