AAA ASCII ADJUST AAA
FOR ADDITION
Operation: | Flags Affected: |
if ((AL) & OFH) >9 or (AF) = 1 then (AL) ~ (AL) + 6
(AH) ~ (AH) + 1 (A F) ~ 1
(CF) ~ (AF)
(AL) ~ (AL) & OFH
AF, CF.
OF, PF, XF, ZF undefined
Description:
AAA(ASCII Adjust for Addition) changes the contents of register AL to a valid unpacked decimal number; the
Encoding:
100110111 I
AAA Operands Clocks Transfers Bytes AAA Coding Example
(no operands) | 4 | - | 1 AAA |