CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS
6.27 DAS (Decimal Adjust for Subtraction)
Subtract the correction value from AL according to the state of the C or
■DAS (Decimal Adjust for Subtraction)
Operation
(AL) ← (AL) - 6 or 60H or 66H
(Subtract a correction value shown in the next page to AL and the value of AL according to the state of the C or
Assembler format
DAS
Condition code (CCR)
N | Z | V | C |
|
|
|
|
+ | + | + | + |
|
|
|
|
+: Changed by executing instruction
N:Set to 1 if the MSB is 1 as the result of operation and set to 0 in other cases.
Z:Set to 1 if the result of operation is 00H and set to 0 in other cases.
V:Set to 1 if an overflow occurs as the result of operation and set to 0 in other cases.
C:Change as indicated on the next page.
Number of execution cycle: 1
Byte count: 1
OP code: 94