daa

Arithmetic // DAA (Decimal Adjust Accumulator)

0x27 - u39

Description

Adjusts a for BCD addition and subtraction operations.

T States Bytes
4 1

Condition Bits Affected

S affected as defined
Z affected as defined
H exceptional
P/V detects parity
N unaffected
C exceptional

source
{
  "flags": {
    "S": "affected as defined",
    "Z": "affected as defined",
    "H": "exceptional",
    "P/V": "detects parity",
    "N": "unaffected",
    "C": "exceptional"
  },
  "operation": "daa",
  "opcode": "daa",
  "operand": [],
  "code": "27",
  "bytes": 1,
  "time": 4,
  "description": "Adjusts a for BCD addition and subtraction operations.",
  "category": "Arithmetic",
  "subCategory": "DAA (Decimal Adjust Accumulator)"
}