IA-32 Assembly Language Reference Manual

Decimal Adjust AL after Subtraction (das)

das

Operation

decimal-adjust AL -> AL

Description

Use das only after executing the form of a sub instruction that stores a two-BCD-digit byte result in the AL register. das then adjusts AL to a two-digit packed decimal result.

Example

Decimal adjust the two-BCD-digit in the AL register:

das