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>aad ascii adjust before division 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]
AAD             ASCII Adjust before Division         Flags: O D I T S Z A P C
                                                            ? - - - * * ? * ?
AAD

        Logic   AL . AH * 10 + AL
                AH . 0

    AAD converts the unpacked two-digit BCD number in AX into binary
    in preparation for a division using DIV or IDIV, which require
    binary rather than BCD numbers.

    The result produced by the subsequent division will be an unpacked
    BCD number.


    Opcode      Format
    D5 0A       AAD


    Length and timing
    Operands    Bytes   8088    186     286     386     486     Pentium
    -            2      60      15      14      19      14      10   NP


See Also: AAA AAS AAM DIV Flags

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