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.
DEC Instruction
 Detail Key Example                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Title:    Decrement                             Flags: O D I T S Z A P C
                                                         ═════════════════
  Syntax:   DEC dest                                     ±       ± ± ± ±
 
  See also: INC, ADD, SUB
 
  Description:
 
     Subtracts 1 from the destination operand. Because the operand is
     treated as an unsigned integer, the DEC instruction does not
     affect the carry flag. To detect any effects on the carry flag,
     use the SUB instruction.
                                    -♦-