AAM             ASCII Adjust after Multiply          Flags: O D I T S Z A P C
? - - - * * ? * ?
AAM

Logic AH ← AL / 10
AL ← AL MOD 10

Execute AAM after a MUL operation on two unpacked BCD operands
that leaves the result in the AX register. Because the result is
less than 100, it is contained entirely in the AL register. AAM
unpacks the result in AL by dividing AL by 10, leaving the
quotient in AH and the remainder in AL.


Opcode Format
D4 0A AAM


Length and timing
Operands Bytes 8088 186 286 386 486 Pentium
- 2 83 19 16 17 15 18 NP