brlc de,b

Arithmetic // Barrel (variable amount) shift and rotate (cores v2+ only)

0xED2C - u60716

z80n specific

Description

DE:=DE<<(B&15) OR DE>>(16-B&15)

T States Bytes
8 2

Condition Bits Affected

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

source
{
  "opcode": "brlc",
  "bytes": 2,
  "code": "ED2C",
  "mnu": "BRLC DE,B",
  "status": "E",
  "flags": {
    "C": "unaffected",
    "N": "unaffected",
    "PV": "unaffected",
    "H": "unaffected",
    "Z": "unaffected",
    "S": "unaffected"
  },
  "z80n": true,
  "time": "8",
  "description": "DE:=DE<<(B&15) OR DE>>(16-B&15)",
  "operation": "brlc de,b",
  "category": "Arithmetic",
  "subCategory": "Barrel (variable amount) shift and rotate (cores v2+ only)"
}