Lines Matching refs:nibs
389 unsigned char nibs[8]; in print_insn_sh() local
431 nibs[0] = (insn[1] >> 4) & 0xf; in print_insn_sh()
432 nibs[1] = insn[1] & 0xf; in print_insn_sh()
434 nibs[2] = (insn[0] >> 4) & 0xf; in print_insn_sh()
435 nibs[3] = insn[0] & 0xf; in print_insn_sh()
439 nibs[0] = (insn[0] >> 4) & 0xf; in print_insn_sh()
440 nibs[1] = insn[0] & 0xf; in print_insn_sh()
442 nibs[2] = (insn[1] >> 4) & 0xf; in print_insn_sh()
443 nibs[3] = insn[1] & 0xf; in print_insn_sh()
454 nibs[4] = (insn[3] >> 4) & 0xf; in print_insn_sh()
455 nibs[5] = insn[3] & 0xf; in print_insn_sh()
457 nibs[6] = (insn[2] >> 4) & 0xf; in print_insn_sh()
458 nibs[7] = insn[2] & 0xf; in print_insn_sh()
462 nibs[4] = (insn[2] >> 4) & 0xf; in print_insn_sh()
463 nibs[5] = insn[2] & 0xf; in print_insn_sh()
465 nibs[6] = (insn[3] >> 4) & 0xf; in print_insn_sh()
466 nibs[7] = insn[3] & 0xf; in print_insn_sh()
470 if (nibs[0] == 0xf && (nibs[1] & 4) == 0 in print_insn_sh()
473 if (nibs[1] & 8) in print_insn_sh()
491 print_insn_ddt ((nibs[1] << 8) | (nibs[2] << 4) | nibs[3], info); in print_insn_sh()
494 print_insn_ddt ((nibs[1] << 8) | (nibs[2] << 4) | nibs[3], info); in print_insn_sh()
522 if (nibs[n] == i) in print_insn_sh()
529 imm = (nibs[2] << 4) | (nibs[3]); in print_insn_sh()
535 imm = ((nibs[1]) << 8) | (nibs[2] << 4) | (nibs[3]); in print_insn_sh()
541 if (nibs[3] & 0x8) in print_insn_sh()
543 imm = nibs[3] & 0x7; in print_insn_sh()
546 if (!(nibs[3] & 0x8)) in print_insn_sh()
548 imm = nibs[3] & 0x7; in print_insn_sh()
551 if (nibs[2] & 0x8) in print_insn_sh()
553 imm = nibs[2] & 0x7; in print_insn_sh()
556 if (!(nibs[2] & 0x8)) in print_insn_sh()
558 imm = nibs[2] & 0x7; in print_insn_sh()
562 disp = (nibs[5] << 8) | (nibs[6] << 4) | nibs[7]; in print_insn_sh()
567 disp = ((nibs[5] << 8) | (nibs[6] << 4) | nibs[7]) << 1; in print_insn_sh()
573 disp = ((nibs[5] << 8) | (nibs[6] << 4) | nibs[7]) << 2; in print_insn_sh()
579 disp = ((nibs[5] << 8) | (nibs[6] << 4) | nibs[7]) << 3; in print_insn_sh()
586 imm = ((nibs[2] << 16) | (nibs[4] << 12) | (nibs[5] << 8) in print_insn_sh()
587 | (nibs[6] << 4) | nibs[7]); in print_insn_sh()
592 imm = ((nibs[2] << 16) | (nibs[4] << 12) | (nibs[5] << 8) in print_insn_sh()
593 | (nibs[6] << 4) | nibs[7]); in print_insn_sh()
600 imm = nibs[3]; in print_insn_sh()
604 imm = nibs[3] << 1; in print_insn_sh()
608 imm = nibs[3] << 2; in print_insn_sh()
612 imm = (nibs[2] << 4) | nibs[3]; in print_insn_sh()
619 imm = ((nibs[2] << 4) | nibs[3]) << 1; in print_insn_sh()
623 imm = ((nibs[2] << 4) | nibs[3]) << 2; in print_insn_sh()
628 imm = ((nibs[2] << 4) | nibs[3]) << 1; in print_insn_sh()
632 imm = ((nibs[2] << 4) | nibs[3]) << 2; in print_insn_sh()
635 if ((nibs[n] & 1) != 0) in print_insn_sh()
639 rn = nibs[n]; in print_insn_sh()
642 rm = nibs[n]; in print_insn_sh()
645 if ((nibs[n] & 0x3) != 1 /* binary 01 */) in print_insn_sh()
647 rn = (nibs[n] & 0xc) >> 2; in print_insn_sh()
650 rn = (nibs[n] & 0xc) >> 2; in print_insn_sh()
651 rm = (nibs[n] & 0x3); in print_insn_sh()
654 rb = nibs[n] & 0x07; in print_insn_sh()
658 rn = nibs[n]; in print_insn_sh()
942 fprintf_fn (stream, ".word 0x%x%x%x%x", nibs[0], nibs[1], nibs[2], nibs[3]); in print_insn_sh()