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.