Command: AAM - ASCII Adjust AX After Multiply
Arguments: imm: divisor for AL, 10 if not specified
Usage: AAM | AAM imm
Effects: AAM is for use after you have multiplied two decimal digits together and left the result in AL: it divides AL by ten and stores the quotient in AH, leaving the remainder in AL. The divisor 10 can be changed by specifying an operand to the instruction: a particularly handy use of this is AAM 16, causing the two nibbles in AL to be separated into AH and AL.
Flags to be set: none