Lines Matching refs:insn_word

72 get_tic30_instruction (unsigned long insn_word, struct instruction *insn)
74 switch (GET_TYPE (insn_word))
85 if (GET_TYPE (current_optab->base_opcode) == GET_TYPE (insn_word))
89 if (current_optab->base_opcode == insn_word)
95 else if ((current_optab->base_opcode & NORMAL_IDEN) == (insn_word & NORMAL_IDEN))
112 if (GET_TYPE (current_optab->base_opcode) == GET_TYPE (insn_word))
115 == (insn_word & PAR_STORE_IDEN))
132 if (GET_TYPE (current_optab->base_opcode) == GET_TYPE (insn_word))
135 == (insn_word & MUL_ADD_IDEN))
152 if (GET_TYPE (current_optab->base_opcode) == GET_TYPE (insn_word))
157 == (insn_word & BR_IMM_IDEN))
166 == (insn_word & BR_COND_IDEN))
175 == (insn_word & (BR_COND_IDEN | 0x00800000)))
351 unsigned long insn_word,
382 get_register_operand ((insn_word & 0x001F0000) >> 16, operand[dest_op]);
384 switch (insn_word & AddressMode)
389 get_register_operand ((insn_word & 0x0000001F), operand[src_op]);
392 sprintf (operand[src_op], "@0x%lX", (insn_word & 0x0000FFFF));
395 get_indirect_operand ((insn_word & 0x0000FFFF), 2, operand[src_op]);
402 cnvt_tmsfloat_ieee ((insn_word & 0x0000FFFF), 2, &f_number);
406 sprintf (operand[src_op], "%d", (short) (insn_word & 0x0000FFFF));
409 sprintf (operand[src_op], "%lu", (insn_word & 0x0000FFFF));
415 if ((insn_word & 0xFFFFFF00) == LDP_INSN)
418 sprintf (operand[0], "0x%06lX", (insn_word & 0x000000FF) << 16);
427 get_register_operand ((insn_word & 0x001F0000) >> 16, operand[0]);
439 unsigned long insn_word,
451 switch (insn_word & AddressMode)
454 get_register_operand ((insn_word & 0x000000FF), operand[0]);
455 get_register_operand ((insn_word & 0x0000FF00) >> 8, operand[1]);
458 get_register_operand ((insn_word & 0x000000FF), operand[0]);
459 get_indirect_operand ((insn_word & 0x0000FF00) >> 8, 1, operand[1]);
462 get_indirect_operand ((insn_word & 0x000000FF), 1, operand[0]);
463 get_register_operand ((insn_word & 0x0000FF00) >> 8, operand[1]);
466 get_indirect_operand ((insn_word & 0x000000FF), 1, operand[0]);
467 get_indirect_operand ((insn_word & 0x0000FF00) >> 8, 1, operand[1]);
473 get_register_operand ((insn_word & 0x001F0000) >> 16, operand[2]);
483 unsigned long insn_word,
522 get_indirect_operand ((insn_word & 0x000000FF), 1, operand[0][0]);
523 get_indirect_operand ((insn_word & 0x0000FF00) >> 8, 1, operand[1][1]);
524 get_register_operand ((insn_word >> 16) & 0x07, operand[1][0]);
525 get_register_operand ((insn_word >> 22) & 0x07, operand[0][1]);
528 get_indirect_operand ((insn_word & 0x000000FF), 1, operand[0][0]);
529 get_indirect_operand ((insn_word & 0x0000FF00) >> 8, 1, operand[1][0]);
530 get_register_operand ((insn_word >> 19) & 0x07, operand[1][1]);
531 get_register_operand ((insn_word >> 22) & 0x07, operand[0][1]);
534 get_indirect_operand ((insn_word & 0x000000FF), 1, operand[0][1]);
535 get_indirect_operand ((insn_word & 0x0000FF00) >> 8, 1, operand[1][1]);
536 get_register_operand ((insn_word >> 16) & 0x07, operand[1][0]);
537 get_register_operand ((insn_word >> 22) & 0x07, operand[0][0]);
540 get_indirect_operand ((insn_word & 0x000000FF), 1, operand[0][0]);
541 get_indirect_operand ((insn_word & 0x0000FF00) >> 8, 1, operand[1][1]);
542 get_register_operand ((insn_word >> 16) & 0x07, operand[1][0]);
543 get_register_operand ((insn_word >> 19) & 0x07, operand[0][1]);
544 get_register_operand ((insn_word >> 22) & 0x07, operand[0][2]);
547 get_indirect_operand ((insn_word & 0x000000FF), 1, operand[0][1]);
548 get_indirect_operand ((insn_word & 0x0000FF00) >> 8, 1, operand[1][1]);
549 get_register_operand ((insn_word >> 16) & 0x07, operand[1][0]);
550 get_register_operand ((insn_word >> 19) & 0x07, operand[0][0]);
551 get_register_operand ((insn_word >> 22) & 0x07, operand[0][2]);
554 if (insn_word & 0x00800000)
558 if (insn_word & 0x00400000)
562 switch (insn_word & P_FIELD)
565 get_indirect_operand ((insn_word & 0x000000FF), 1, operand[0][1]);
566 get_indirect_operand ((insn_word & 0x0000FF00) >> 8, 1, operand[0][0]);
567 get_register_operand ((insn_word >> 16) & 0x07, operand[1][1]);
568 get_register_operand ((insn_word >> 19) & 0x07, operand[1][0]);
571 get_indirect_operand ((insn_word & 0x000000FF), 1, operand[1][0]);
572 get_indirect_operand ((insn_word & 0x0000FF00) >> 8, 1, operand[0][0]);
573 get_register_operand ((insn_word >> 16) & 0x07, operand[1][1]);
574 get_register_operand ((insn_word >> 19) & 0x07, operand[0][1]);
577 get_indirect_operand ((insn_word & 0x000000FF), 1, operand[1][1]);
578 get_indirect_operand ((insn_word & 0x0000FF00) >> 8, 1, operand[1][0]);
579 get_register_operand ((insn_word >> 16) & 0x07, operand[0][1]);
580 get_register_operand ((insn_word >> 19) & 0x07, operand[0][0]);
583 get_indirect_operand ((insn_word & 0x000000FF), 1, operand[1][1]);
584 get_indirect_operand ((insn_word & 0x0000FF00) >> 8, 1, operand[0][0]);
585 get_register_operand ((insn_word >> 16) & 0x07, operand[1][0]);
586 get_register_operand ((insn_word >> 19) & 0x07, operand[0][1]);
607 unsigned long insn_word,
623 address = insn_word & 0x00FFFFFF;
630 address = insn_word & 0x0000001F;
635 address = insn_word & 0x0000FFFF;
639 get_register_operand (((insn_word & 0x01C00000) >> 22) + REG_AR0, operand[0]);
640 if (insn_word & PCRel)
646 get_register_operand (insn_word & 0x0000001F, operand[1]);
651 if (insn_word & PCRel)
658 get_register_operand (insn_word & 0x0000001F, operand[0]);
670 if ((insn->tm->opcode_modifier == PCRel) && (insn_word & PCRel))
674 if (insn_word & 0x00200000)
694 unsigned long insn_word;
699 insn_word = (((unsigned) *(info->buffer + bufaddr) << 24)
706 if (!get_tic30_instruction (insn_word, &insn))
708 switch (GET_TYPE (insn_word))
712 if (!print_two_operand (info, insn_word, &insn))
716 if (!print_three_operand (info, insn_word, &insn))
721 if (!print_par_insn (info, insn_word, &insn))
725 if (!print_branch (info, insn_word, &insn))