◄Detail► ◄Key► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Title: Decimal Adjust after Subtraction Flags: O D I T S Z A P C ═════════════════ Syntax: DAS ? ± ± ± ± ± See also: DAA, AAA, AAS, AAM, AAD Description: Adjusts the result of an 8-bit subtraction to a packed BCD number (less than 100 decimal). DAS converts this result to packed BCD format with the least significant decimal digit in the lower four bits and the most significant digit in the upper four bits. If the sum is greater than 99h after adjustment, the carry and auxiliary carry flags are set. Otherwise, the carry and auxiliary carry flags are cleared. -♦-