Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->DAA
DAA Decimal adjust accumulator
Converts accumulator contents into packed BCD following add or subtract with packed BCD operands
Flags
| S | Set if result -ve, else cleared |
| Z | Set if result zero, else cleared |
| H | Set if half carry, else cleared |
| P/V | Set if parity even, else cleared |
| N | Not affected |
| C | Set if carry, else cleared |
| No of | M | T | usec @ |
| bytes | cycles | states | 2 MHz | S |
| 1 | 1 | 4 | 2 |