Home | History | Annotate | Download | only in arm

Lines Matching full:inst2

433 		unsigned short inst2;
434 if (proc_read_16(proc, pc + 2, &inst2) < 0)
437 if ((inst1 & 0xf800) == 0xf000 && (inst2 & 0x8000) == 0x8000) {
440 if ((inst2 & 0x1000) != 0
441 || (inst2 & 0xd001) == 0xc000) {
445 const unsigned imm2 = BITS(inst2, 0, 10);
446 const unsigned j1 = BIT(inst2, 13);
447 const unsigned j2 = BIT(inst2, 11);
456 if (BIT(inst2, 12) == 0)
462 && (inst2 & 0xff00) == 0x3f00) {
468 next -= inst2 & 0x00ff;
472 } else if ((inst2 & 0xd000) == 0x8000
477 const unsigned imm2 = BITS(inst2, 0, 10);
478 const unsigned j1 = BIT(inst2, 13);
479 const unsigned j2 = BIT(inst2, 11);
495 if (!BIT(inst2, 15))
497 offset = bitcount(inst2) * 4 - 4;
500 if (!BIT(inst2, 15))
525 && (inst2 & 0xfff0) == 0x0f00) {
527 const enum arm_register rn = BITS(inst2, 0, 3);
534 && (inst2 & 0xf000) == 0xf000) {
545 base += BITS(inst2, 0, 11);
547 base -= BITS(inst2, 0, 11);
549 base += BITS(inst2, 0, 11);
550 } else if (BIT(inst2, 11)) {
551 if (BIT(inst2, 10)) {
552 if (BIT(inst2, 9))
553 base += BITS(inst2, 0, 7);
555 base -= BITS(inst2, 0, 7);
557 } else if ((inst2 & 0x0fc0) == 0x0000) {
558 const int shift = BITS(inst2, 4, 5);
559 const enum arm_register rm = BITS(inst2, 0, 3);
578 && (inst2 & 0xfff0) == 0xf000) {
581 const enum arm_register off_reg = BITS(inst2, 0, 3);
604 && (inst2 & 0xfff0) == 0xf010) {
607 const enum arm_register off_reg = BITS(inst2, 0, 3);