Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
AAS Instruction
 Detail Key                     Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Title:    ASCII Adjust after Subtraction        Flags: O D I T S Z A P C
                                                         ═════════════════
  Syntax:   AAS                                          ?       ? ? ± ? ±
 
  See also: AAA, AAM, AAD, DAA, DAS
 
  Description:
 
     Adjusts the result of a subtraction to a decimal digit (0-9). The
     previous subtraction instruction should place its 8-bit result in
     AL. If the result is greater than 9h, AH is decremented and the
     carry and auxiliary carry flags are set. Otherwise, the carry and
     auxiliary carry flags are cleared.
                                    -♦-