swapnib

Arithmetic // SWAPNIB (SWAP NIBbles)

0xED23 - u60707

z80n specific

Description

A:=A[3210]<<4 OR A[7654]>>4

T States Bytes
8 2

Condition Bits Affected

S unaffected
Z unaffected
H unaffected
P/V
N unaffected
C unaffected

source
{
  "opcode": "swapnib",
  "bytes": 2,
  "code": "ED23",
  "mnu": "SWAPNIB",
  "status": "E",
  "flags": {
    "C": "unaffected",
    "N": "unaffected",
    "PV": "unaffected",
    "H": "unaffected",
    "Z": "unaffected",
    "S": "unaffected"
  },
  "z80n": true,
  "time": "8",
  "description": "A:=A[3210]<<4 OR A[7654]>>4",
  "operation": "swapnib",
  "category": "Arithmetic",
  "subCategory": "SWAPNIB (SWAP NIBbles)"
}