dec a

Arithmetic // DEC (DECrement)

0x3D - u61

Description

Subtracts one from a.

T States Bytes
4 1

Condition Bits Affected

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

source
{
  "flags": {
    "S": "affected as defined",
    "Z": "affected as defined",
    "H": "affected as defined",
    "P/V": "detects overflow",
    "N": "affected as defined",
    "C": "unaffected"
  },
  "operation": "dec a",
  "opcode": "dec",
  "operand": [
    "a"
  ],
  "code": "3D",
  "bytes": 1,
  "time": 4,
  "description": "Subtracts one from a.",
  "category": "Arithmetic",
  "subCategory": "DEC (DECrement)"
}