Home
last modified time | relevance | path

Searched refs:nibs (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/disas/
H A Dsh4.c1514 unsigned char nibs[8]; in print_insn_sh() local
1554 nibs[0] = (insn[1] >> 4) & 0xf; in print_insn_sh()
1555 nibs[1] = insn[1] & 0xf; in print_insn_sh()
1557 nibs[2] = (insn[0] >> 4) & 0xf; in print_insn_sh()
1558 nibs[3] = insn[0] & 0xf; in print_insn_sh()
1562 nibs[0] = (insn[0] >> 4) & 0xf; in print_insn_sh()
1563 nibs[1] = insn[0] & 0xf; in print_insn_sh()
1565 nibs[2] = (insn[1] >> 4) & 0xf; in print_insn_sh()
1566 nibs[3] = insn[1] & 0xf; in print_insn_sh()
1577 nibs[4] = (insn[3] >> 4) & 0xf; in print_insn_sh()
[all …]
/openbmc/linux/arch/sh/kernel/
H A Ddisassemble.c294 int nibs[4] = { (insn >> 12) & 0xf, (insn >> 8) & 0xf, (insn >> 4) & 0xf, insn & 0xf}; in print_sh_insn() local
311 if (nibs[n] == i) in print_sh_insn()
317 imm = (nibs[2] << 4) | (nibs[3]); in print_sh_insn()
323 imm = ((nibs[1]) << 8) | (nibs[2] << 4) | (nibs[3]); in print_sh_insn()
329 imm = nibs[3]; in print_sh_insn()
332 imm = nibs[3] <<1; in print_sh_insn()
335 imm = nibs[3] <<2; in print_sh_insn()
338 imm = (nibs[2] << 4) | nibs[3]; in print_sh_insn()
341 imm = ((nibs[2] << 4) | nibs[3]) <<1; in print_sh_insn()
345 imm = ((nibs[2] << 4) | nibs[3]) <<2; in print_sh_insn()
[all …]