and (hl)

Arithmetic // AND, OR, XOR

0xA6 - u166

Description

Bitwise AND on a with (hl).

T States Bytes
7 1

Condition Bits Affected

S affected as defined
Z affected as defined
H set
P/V detects parity
N reset
C reset

source
{
  "flags": {
    "S": "affected as defined",
    "Z": "affected as defined",
    "H": "set",
    "P/V": "detects parity",
    "N": "reset",
    "C": "reset"
  },
  "operation": "and (hl)",
  "opcode": "and",
  "operand": [
    "(hl)"
  ],
  "code": "A6",
  "bytes": 1,
  "time": 7,
  "description": "Bitwise AND on a with (hl).",
  "category": "Arithmetic",
  "subCategory": "AND, OR, XOR"
}