Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
AAA Instruction
 Detail Key                               Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Title:    ASCII Adjust after Addition           Flags: O D I T S Z A P C
                                                         ═════════════════
  Syntax:   AAA                                          ?       ? ? ± ? ±
 
  See also: AAS, AAM, AAD, DAA, DAS
 
  Description:
 
     Adjusts the result of an addition to a decimal digit (0-9). The
     previous addition instruction should place its 8-bit sum in AL. If
     the sum is greater than 9h, AH is incremented and the carry and
     auxiliary carry flags are set. Otherwise, the carry and auxiliary
     carry flags are cleared.
                                    -♦-