set 2,d

Arithmetic // SET (SET bit)

0xCBD2 - u52178

Description

Sets bit 2 of d.

T States Bytes
8 2

Condition Bits Affected

None.

source
{
  "flags": {
    "S": "unaffected",
    "Z": "unaffected",
    "H": "unaffected",
    "P/V": "unaffected",
    "N": "unaffected",
    "C": "unaffected"
  },
  "unaffected": true,
  "operation": "set 2,d",
  "opcode": "set",
  "operand": [
    "2",
    "d"
  ],
  "code": "CBD2",
  "bytes": 2,
  "time": 8,
  "description": "Sets bit 2 of d.",
  "category": "Arithmetic",
  "subCategory": "SET (SET bit)"
}