Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- iAPx86 - <b>aam ascii adjust after multiply flags: o d i t s z a p c</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
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

See Also: AAA AAS AAD MUL Flags

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson