INTEL
®
CELERON® PROCESSOR SPECIFICATION UPDATE
89
The
Intel Architecture Software Developer's Manual, Vol 2: Instruction Set Reference
, on page 3-175
currently states:
Operation
IF (AL AND 0FH) > 9 OR AF = 1
THEN
AL
←
AL - 6;
CF
←
CF OR CarryFromLastAddition; (* CF OR carry from AL
←
AL - 6 *)
AF
←
1;
ELSE AF
←
0;
FI;
IF ((AL > 9FH) or CF = 1)
THEN
AL
←
AL - 60H;
CF
←
1;
ELSE CF
←
0;
FI;
It should state:
Operation
old_AL
←
AL;
old_CF
←
CF;
CF
←
0;
IF (((AL AND 0FH) > 9) or AF = 1)
THEN
AL
←
AL - 6;
CF
←
old_CF or (Borrow from AL
←
AL - 6);
AF
←
1;
ELSE
AF
←
0;
FI;
IF ((old_AL > 99H) OR (old_CF = 1))
THEN
AL
←
AL - 60H;
CF
←
1;
ELSE
CF
←
0;
FI;
C16. DAS—Decimal Adjust AL after Subtraction