Lines Matching refs:info
70 disassemble_info *info = dis_info; in print_suffix() local
72 (*info->fprintf_func) (info->stream, ":%c", suffix); in print_suffix()
141 disassemble_info *info = dis_info; in print_r0l_r0h() local
144 (*info->fprintf_func) (info->stream, "r0h,r0l"); in print_r0l_r0h()
146 (*info->fprintf_func) (info->stream, "r0l,r0h"); in print_r0l_r0h()
157 disassemble_info *info = dis_info; in print_unsigned_bitbase() local
159 (*info->fprintf_func) (info->stream, "%ld,0x%lx", value & 0x7, value >> 3); in print_unsigned_bitbase()
170 disassemble_info *info = dis_info; in print_signed_bitbase() local
172 (*info->fprintf_func) (info->stream, "%ld,%ld", value & 0x7, value >> 3); in print_signed_bitbase()
184 disassemble_info *info = dis_info; in print_size() local
186 (*info->fprintf_func) (info->stream, ".w"); in print_size()
210 disassemble_info *info = dis_info; in print_regset() local
222 (*info->fprintf_func) (info->stream, "%s", m16c_register_names [0]); in print_regset()
235 (*info->fprintf_func) (info->stream, "%s%s", comma, in print_regset()
272 disassemble_info *info = dis_info; in print_signed4n() local
274 (*info->fprintf_func) (info->stream, "%ld", -value); in print_signed4n()
304 disassemble_info *info = (disassemble_info *) xinfo; in m32c_cgen_print_operand() local
309 print_keyword (cd, info, & m32c_cgen_opval_h_a0, 0, 0); in m32c_cgen_print_operand()
312 print_keyword (cd, info, & m32c_cgen_opval_h_a1, 0, 0); in m32c_cgen_print_operand()
315 print_keyword (cd, info, & m32c_cgen_opval_h_ar_HI, fields->f_4_1, 0); in m32c_cgen_print_operand()
318 print_keyword (cd, info, & m32c_cgen_opval_h_ar, fields->f_dst16_an, 0); in m32c_cgen_print_operand()
321 print_keyword (cd, info, & m32c_cgen_opval_h_gr_HI, fields->f_dst16_rn, 0); in m32c_cgen_print_operand()
324 …print_normal (cd, info, fields->f_imm3_S, 0|(1<<CGEN_OPERAND_SIGNED)|(1<<CGEN_OPERAND_VIRTUAL), pc… in m32c_cgen_print_operand()
327 print_keyword (cd, info, & m32c_cgen_opval_h_ar, fields->f_dst32_an_prefixed, 0); in m32c_cgen_print_operand()
330 print_keyword (cd, info, & m32c_cgen_opval_h_ar, fields->f_dst32_an_unprefixed, 0); in m32c_cgen_print_operand()
333 print_keyword (cd, info, & m32c_cgen_opval_h_gr_QI, fields->f_dst32_rn_prefixed_QI, 0); in m32c_cgen_print_operand()
336 print_keyword (cd, info, & m32c_cgen_opval_h_gr_QI, fields->f_dst32_rn_unprefixed_QI, 0); in m32c_cgen_print_operand()
339 print_signed_bitbase (cd, info, fields->f_dsp_16_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
342 print_unsigned_bitbase (cd, info, fields->f_dsp_16_u16, 0, pc, length); in m32c_cgen_print_operand()
345 print_unsigned_bitbase (cd, info, fields->f_dsp_16_u8, 0, pc, length); in m32c_cgen_print_operand()
348 …print_unsigned_bitbase (cd, info, fields->f_bitbase16_u11_S, 0|(1<<CGEN_OPERAND_VIRTUAL), pc, leng… in m32c_cgen_print_operand()
351 …print_signed_bitbase (cd, info, fields->f_bitbase32_16_s11_unprefixed, 0|(1<<CGEN_OPERAND_SIGNED)|… in m32c_cgen_print_operand()
354 …print_signed_bitbase (cd, info, fields->f_bitbase32_16_s19_unprefixed, 0|(1<<CGEN_OPERAND_SIGNED)|… in m32c_cgen_print_operand()
357 …print_unsigned_bitbase (cd, info, fields->f_bitbase32_16_u11_unprefixed, 0|(1<<CGEN_OPERAND_VIRTUA… in m32c_cgen_print_operand()
360 …print_unsigned_bitbase (cd, info, fields->f_bitbase32_16_u19_unprefixed, 0|(1<<CGEN_OPERAND_VIRTUA… in m32c_cgen_print_operand()
363 …print_unsigned_bitbase (cd, info, fields->f_bitbase32_16_u27_unprefixed, 0|(1<<CGEN_OPERAND_VIRTUA… in m32c_cgen_print_operand()
366 …print_signed_bitbase (cd, info, fields->f_bitbase32_24_s11_prefixed, 0|(1<<CGEN_OPERAND_SIGNED)|(1… in m32c_cgen_print_operand()
369 …print_signed_bitbase (cd, info, fields->f_bitbase32_24_s19_prefixed, 0|(1<<CGEN_OPERAND_SIGNED)|(1… in m32c_cgen_print_operand()
372 …print_unsigned_bitbase (cd, info, fields->f_bitbase32_24_u11_prefixed, 0|(1<<CGEN_OPERAND_VIRTUAL)… in m32c_cgen_print_operand()
375 …print_unsigned_bitbase (cd, info, fields->f_bitbase32_24_u19_prefixed, 0|(1<<CGEN_OPERAND_VIRTUAL)… in m32c_cgen_print_operand()
378 …print_unsigned_bitbase (cd, info, fields->f_bitbase32_24_u27_prefixed, 0|(1<<CGEN_OPERAND_VIRTUAL)… in m32c_cgen_print_operand()
381 print_normal (cd, info, fields->f_dsp_16_u8, 0, pc, length); in m32c_cgen_print_operand()
384 print_normal (cd, info, fields->f_bitno32_prefixed, 0, pc, length); in m32c_cgen_print_operand()
387 print_normal (cd, info, fields->f_bitno32_unprefixed, 0, pc, length); in m32c_cgen_print_operand()
390 print_normal (cd, info, fields->f_dsp_10_u6, 0, pc, length); in m32c_cgen_print_operand()
393 print_normal (cd, info, fields->f_dsp_16_s16, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
396 print_normal (cd, info, fields->f_dsp_16_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
399 print_normal (cd, info, fields->f_dsp_16_u16, 0, pc, length); in m32c_cgen_print_operand()
402 print_normal (cd, info, fields->f_dsp_16_u24, 0|(1<<CGEN_OPERAND_VIRTUAL), pc, length); in m32c_cgen_print_operand()
405 print_normal (cd, info, fields->f_dsp_16_u24, 0|(1<<CGEN_OPERAND_VIRTUAL), pc, length); in m32c_cgen_print_operand()
408 print_normal (cd, info, fields->f_dsp_16_u8, 0, pc, length); in m32c_cgen_print_operand()
411 …print_normal (cd, info, fields->f_dsp_24_s16, 0|(1<<CGEN_OPERAND_SIGNED)|(1<<CGEN_OPERAND_VIRTUAL)… in m32c_cgen_print_operand()
414 print_normal (cd, info, fields->f_dsp_24_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
417 print_normal (cd, info, fields->f_dsp_24_u16, 0|(1<<CGEN_OPERAND_VIRTUAL), pc, length); in m32c_cgen_print_operand()
420 print_normal (cd, info, fields->f_dsp_24_u24, 0|(1<<CGEN_OPERAND_VIRTUAL), pc, length); in m32c_cgen_print_operand()
423 print_normal (cd, info, fields->f_dsp_24_u24, 0|(1<<CGEN_OPERAND_VIRTUAL), pc, length); in m32c_cgen_print_operand()
426 print_normal (cd, info, fields->f_dsp_24_u8, 0, pc, length); in m32c_cgen_print_operand()
429 print_normal (cd, info, fields->f_dsp_32_s16, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
432 print_normal (cd, info, fields->f_dsp_32_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
435 print_normal (cd, info, fields->f_dsp_32_u16, 0, pc, length); in m32c_cgen_print_operand()
438 print_normal (cd, info, fields->f_dsp_32_u24, 0, pc, length); in m32c_cgen_print_operand()
441 print_normal (cd, info, fields->f_dsp_32_u24, 0, pc, length); in m32c_cgen_print_operand()
444 print_normal (cd, info, fields->f_dsp_32_u8, 0, pc, length); in m32c_cgen_print_operand()
447 print_normal (cd, info, fields->f_dsp_40_s16, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
450 print_normal (cd, info, fields->f_dsp_40_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
453 print_normal (cd, info, fields->f_dsp_40_u16, 0, pc, length); in m32c_cgen_print_operand()
456 print_normal (cd, info, fields->f_dsp_40_u20, 0, pc, length); in m32c_cgen_print_operand()
459 print_normal (cd, info, fields->f_dsp_40_u24, 0, pc, length); in m32c_cgen_print_operand()
462 print_normal (cd, info, fields->f_dsp_40_u8, 0, pc, length); in m32c_cgen_print_operand()
465 print_normal (cd, info, fields->f_dsp_48_s16, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
468 print_normal (cd, info, fields->f_dsp_48_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
471 print_normal (cd, info, fields->f_dsp_48_u16, 0, pc, length); in m32c_cgen_print_operand()
474 print_normal (cd, info, fields->f_dsp_48_u20, 0|(1<<CGEN_OPERAND_VIRTUAL), pc, length); in m32c_cgen_print_operand()
477 print_normal (cd, info, fields->f_dsp_48_u24, 0|(1<<CGEN_OPERAND_VIRTUAL), pc, length); in m32c_cgen_print_operand()
480 print_normal (cd, info, fields->f_dsp_48_u8, 0, pc, length); in m32c_cgen_print_operand()
483 print_normal (cd, info, fields->f_dsp_8_s24, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
486 print_normal (cd, info, fields->f_dsp_8_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
489 print_normal (cd, info, fields->f_dsp_8_u16, 0, pc, length); in m32c_cgen_print_operand()
492 print_normal (cd, info, fields->f_dsp_8_u24, 0, pc, length); in m32c_cgen_print_operand()
495 print_normal (cd, info, fields->f_dsp_8_u6, 0, pc, length); in m32c_cgen_print_operand()
498 print_normal (cd, info, fields->f_dsp_8_u8, 0, pc, length); in m32c_cgen_print_operand()
501 print_keyword (cd, info, & m32c_cgen_opval_h_ar, fields->f_dst16_an, 0); in m32c_cgen_print_operand()
504 print_keyword (cd, info, & m32c_cgen_opval_h_ar_HI, fields->f_dst16_an_s, 0); in m32c_cgen_print_operand()
507 print_keyword (cd, info, & m32c_cgen_opval_h_ar_HI, fields->f_dst16_an, 0); in m32c_cgen_print_operand()
510 print_keyword (cd, info, & m32c_cgen_opval_h_ar_QI, fields->f_dst16_an, 0); in m32c_cgen_print_operand()
513 print_keyword (cd, info, & m32c_cgen_opval_h_ar_QI, fields->f_dst16_rn_QI_s, 0); in m32c_cgen_print_operand()
516 print_keyword (cd, info, & m32c_cgen_opval_h_ar_SI, fields->f_dst16_an, 0); in m32c_cgen_print_operand()
519 print_keyword (cd, info, & m32c_cgen_opval_h_gr_ext_QI, fields->f_dst16_rn_ext, 0); in m32c_cgen_print_operand()
522 print_keyword (cd, info, & m32c_cgen_opval_h_gr_HI, fields->f_dst16_rn, 0); in m32c_cgen_print_operand()
525 print_keyword (cd, info, & m32c_cgen_opval_h_gr_QI, fields->f_dst16_rn, 0); in m32c_cgen_print_operand()
528 print_keyword (cd, info, & m32c_cgen_opval_h_r0l_r0h, fields->f_dst16_rn_QI_s, 0); in m32c_cgen_print_operand()
531 print_keyword (cd, info, & m32c_cgen_opval_h_gr_SI, fields->f_dst16_rn, 0); in m32c_cgen_print_operand()
534 print_keyword (cd, info, & m32c_cgen_opval_h_ar, fields->f_dst32_an_unprefixed, 0); in m32c_cgen_print_operand()
537 print_keyword (cd, info, & m32c_cgen_opval_h_ar, fields->f_dst32_an_prefixed, 0); in m32c_cgen_print_operand()
540 print_keyword (cd, info, & m32c_cgen_opval_h_ar_HI, fields->f_dst32_an_prefixed, 0); in m32c_cgen_print_operand()
543 print_keyword (cd, info, & m32c_cgen_opval_h_ar_QI, fields->f_dst32_an_prefixed, 0); in m32c_cgen_print_operand()
546 print_keyword (cd, info, & m32c_cgen_opval_h_ar, fields->f_dst32_an_prefixed, 0); in m32c_cgen_print_operand()
549 print_keyword (cd, info, & m32c_cgen_opval_h_ar, fields->f_dst32_an_unprefixed, 0); in m32c_cgen_print_operand()
552 print_keyword (cd, info, & m32c_cgen_opval_h_ar_HI, fields->f_dst32_an_unprefixed, 0); in m32c_cgen_print_operand()
555 print_keyword (cd, info, & m32c_cgen_opval_h_ar_QI, fields->f_dst32_an_unprefixed, 0); in m32c_cgen_print_operand()
558 print_keyword (cd, info, & m32c_cgen_opval_h_ar, fields->f_dst32_an_unprefixed, 0); in m32c_cgen_print_operand()
561 print_keyword (cd, info, & m32c_cgen_opval_h_r0, 0, 0); in m32c_cgen_print_operand()
564 print_keyword (cd, info, & m32c_cgen_opval_h_r0l, 0, 0); in m32c_cgen_print_operand()
567 print_keyword (cd, info, & m32c_cgen_opval_h_gr_ext_HI, fields->f_dst32_rn_ext_unprefixed, 0); in m32c_cgen_print_operand()
570 print_keyword (cd, info, & m32c_cgen_opval_h_gr_ext_QI, fields->f_dst32_rn_ext_unprefixed, 0); in m32c_cgen_print_operand()
573 print_keyword (cd, info, & m32c_cgen_opval_h_gr_HI, fields->f_dst32_rn_prefixed_HI, 0); in m32c_cgen_print_operand()
576 print_keyword (cd, info, & m32c_cgen_opval_h_gr_QI, fields->f_dst32_rn_prefixed_QI, 0); in m32c_cgen_print_operand()
579 print_keyword (cd, info, & m32c_cgen_opval_h_gr_SI, fields->f_dst32_rn_prefixed_SI, 0); in m32c_cgen_print_operand()
582 print_keyword (cd, info, & m32c_cgen_opval_h_gr_HI, fields->f_dst32_rn_unprefixed_HI, 0); in m32c_cgen_print_operand()
585 print_keyword (cd, info, & m32c_cgen_opval_h_gr_QI, fields->f_dst32_rn_unprefixed_QI, 0); in m32c_cgen_print_operand()
588 print_keyword (cd, info, & m32c_cgen_opval_h_gr_SI, fields->f_dst32_rn_unprefixed_SI, 0); in m32c_cgen_print_operand()
591 print_G (cd, info, 0, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
594 print_normal (cd, info, fields->f_imm_12_s4, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
597 print_signed4n (cd, info, fields->f_imm_12_s4, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
600 print_normal (cd, info, fields->f_imm_13_u3, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
603 print_normal (cd, info, fields->f_dsp_16_s16, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
606 print_normal (cd, info, fields->f_dsp_16_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
609 …print_normal (cd, info, fields->f_dsp_16_s32, 0|(1<<CGEN_OPERAND_SIGNED)|(1<<CGEN_OPERAND_VIRTUAL)… in m32c_cgen_print_operand()
612 print_normal (cd, info, fields->f_imm_20_s4, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
615 …print_normal (cd, info, fields->f_dsp_24_s16, 0|(1<<CGEN_OPERAND_SIGNED)|(1<<CGEN_OPERAND_VIRTUAL)… in m32c_cgen_print_operand()
618 print_normal (cd, info, fields->f_dsp_24_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
621 …print_normal (cd, info, fields->f_dsp_24_s32, 0|(1<<CGEN_OPERAND_SIGNED)|(1<<CGEN_OPERAND_VIRTUAL)… in m32c_cgen_print_operand()
624 print_normal (cd, info, fields->f_dsp_32_s16, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
627 print_normal (cd, info, fields->f_dsp_32_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
630 print_normal (cd, info, fields->f_dsp_32_s32, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
633 print_normal (cd, info, fields->f_dsp_40_s16, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
636 print_normal (cd, info, fields->f_dsp_40_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
639 …print_normal (cd, info, fields->f_dsp_40_s32, 0|(1<<CGEN_OPERAND_SIGNED)|(1<<CGEN_OPERAND_VIRTUAL)… in m32c_cgen_print_operand()
642 print_normal (cd, info, fields->f_dsp_48_s16, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
645 print_normal (cd, info, fields->f_dsp_48_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
648 …print_normal (cd, info, fields->f_dsp_48_s32, 0|(1<<CGEN_OPERAND_SIGNED)|(1<<CGEN_OPERAND_VIRTUAL)… in m32c_cgen_print_operand()
651 …print_normal (cd, info, fields->f_dsp_56_s16, 0|(1<<CGEN_OPERAND_SIGNED)|(1<<CGEN_OPERAND_VIRTUAL)… in m32c_cgen_print_operand()
654 print_normal (cd, info, fields->f_dsp_56_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
657 print_normal (cd, info, fields->f_dsp_64_s16, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
660 print_normal (cd, info, fields->f_dsp_8_s16, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
663 print_normal (cd, info, fields->f_dsp_8_s8, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
666 print_normal (cd, info, fields->f_imm_8_s4, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
669 print_signed4n (cd, info, fields->f_imm_8_s4, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
672 print_keyword (cd, info, & m32c_cgen_opval_h_shimm, fields->f_imm_12_s4, 0); in m32c_cgen_print_operand()
675 print_keyword (cd, info, & m32c_cgen_opval_h_shimm, fields->f_imm_20_s4, 0); in m32c_cgen_print_operand()
678 print_keyword (cd, info, & m32c_cgen_opval_h_shimm, fields->f_imm_8_s4, 0); in m32c_cgen_print_operand()
681 print_normal (cd, info, fields->f_imm1_S, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
684 …print_normal (cd, info, fields->f_imm3_S, 0|(1<<CGEN_OPERAND_SIGNED)|(1<<CGEN_OPERAND_VIRTUAL), pc… in m32c_cgen_print_operand()
687 …print_address (cd, info, fields->f_lab_16_8, 0|(1<<CGEN_OPERAND_RELAX)|(1<<CGEN_OPERAND_PCREL_ADDR… in m32c_cgen_print_operand()
690 …print_address (cd, info, fields->f_lab_24_8, 0|(1<<CGEN_OPERAND_RELAX)|(1<<CGEN_OPERAND_PCREL_ADDR… in m32c_cgen_print_operand()
693 …print_address (cd, info, fields->f_lab_32_8, 0|(1<<CGEN_OPERAND_RELAX)|(1<<CGEN_OPERAND_PCREL_ADDR… in m32c_cgen_print_operand()
696 …print_address (cd, info, fields->f_lab_40_8, 0|(1<<CGEN_OPERAND_RELAX)|(1<<CGEN_OPERAND_PCREL_ADDR… in m32c_cgen_print_operand()
699 …print_address (cd, info, fields->f_lab_5_3, 0|(1<<CGEN_OPERAND_RELAX)|(1<<CGEN_OPERAND_PCREL_ADDR)… in m32c_cgen_print_operand()
702 …print_address (cd, info, fields->f_lab_8_16, 0|(1<<CGEN_OPERAND_RELAX)|(1<<CGEN_OPERAND_SIGN_OPT)|… in m32c_cgen_print_operand()
705 …print_address (cd, info, fields->f_lab_8_24, 0|(1<<CGEN_OPERAND_RELAX)|(1<<CGEN_OPERAND_ABS_ADDR),… in m32c_cgen_print_operand()
708 …print_address (cd, info, fields->f_lab_8_8, 0|(1<<CGEN_OPERAND_RELAX)|(1<<CGEN_OPERAND_PCREL_ADDR)… in m32c_cgen_print_operand()
711 …print_address (cd, info, fields->f_lab32_jmp_s, 0|(1<<CGEN_OPERAND_RELAX)|(1<<CGEN_OPERAND_PCREL_A… in m32c_cgen_print_operand()
714 print_Q (cd, info, 0, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
717 print_keyword (cd, info, & m32c_cgen_opval_h_r0, 0, 0); in m32c_cgen_print_operand()
720 print_keyword (cd, info, & m32c_cgen_opval_h_r0h, 0, 0); in m32c_cgen_print_operand()
723 print_keyword (cd, info, & m32c_cgen_opval_h_r0l, 0, 0); in m32c_cgen_print_operand()
726 print_keyword (cd, info, & m32c_cgen_opval_h_r1, 0, 0); in m32c_cgen_print_operand()
729 print_keyword (cd, info, & m32c_cgen_opval_h_r1r2r0, 0, 0); in m32c_cgen_print_operand()
732 print_keyword (cd, info, & m32c_cgen_opval_h_r2, 0, 0); in m32c_cgen_print_operand()
735 print_keyword (cd, info, & m32c_cgen_opval_h_r2r0, 0, 0); in m32c_cgen_print_operand()
738 print_keyword (cd, info, & m32c_cgen_opval_h_r3, 0, 0); in m32c_cgen_print_operand()
741 print_keyword (cd, info, & m32c_cgen_opval_h_r3r1, 0, 0); in m32c_cgen_print_operand()
744 print_pop_regset (cd, info, fields->f_8_8, 0, pc, length); in m32c_cgen_print_operand()
747 print_push_regset (cd, info, fields->f_8_8, 0, pc, length); in m32c_cgen_print_operand()
750 print_keyword (cd, info, & m32c_cgen_opval_h_gr_QI, fields->f_4_1, 0); in m32c_cgen_print_operand()
753 print_S (cd, info, 0, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
756 print_keyword (cd, info, & m32c_cgen_opval_h_ar, fields->f_src16_an, 0); in m32c_cgen_print_operand()
759 print_keyword (cd, info, & m32c_cgen_opval_h_ar_HI, fields->f_src16_an, 0); in m32c_cgen_print_operand()
762 print_keyword (cd, info, & m32c_cgen_opval_h_ar_QI, fields->f_src16_an, 0); in m32c_cgen_print_operand()
765 print_keyword (cd, info, & m32c_cgen_opval_h_gr_HI, fields->f_src16_rn, 0); in m32c_cgen_print_operand()
768 print_keyword (cd, info, & m32c_cgen_opval_h_gr_QI, fields->f_src16_rn, 0); in m32c_cgen_print_operand()
771 print_keyword (cd, info, & m32c_cgen_opval_h_ar, fields->f_src32_an_prefixed, 0); in m32c_cgen_print_operand()
774 print_keyword (cd, info, & m32c_cgen_opval_h_ar_HI, fields->f_src32_an_prefixed, 0); in m32c_cgen_print_operand()
777 print_keyword (cd, info, & m32c_cgen_opval_h_ar_QI, fields->f_src32_an_prefixed, 0); in m32c_cgen_print_operand()
780 print_keyword (cd, info, & m32c_cgen_opval_h_ar, fields->f_src32_an_prefixed, 0); in m32c_cgen_print_operand()
783 print_keyword (cd, info, & m32c_cgen_opval_h_ar, fields->f_src32_an_unprefixed, 0); in m32c_cgen_print_operand()
786 print_keyword (cd, info, & m32c_cgen_opval_h_ar_HI, fields->f_src32_an_unprefixed, 0); in m32c_cgen_print_operand()
789 print_keyword (cd, info, & m32c_cgen_opval_h_ar_QI, fields->f_src32_an_unprefixed, 0); in m32c_cgen_print_operand()
792 print_keyword (cd, info, & m32c_cgen_opval_h_ar, fields->f_src32_an_unprefixed, 0); in m32c_cgen_print_operand()
795 print_keyword (cd, info, & m32c_cgen_opval_h_gr_HI, fields->f_src32_rn_prefixed_HI, 0); in m32c_cgen_print_operand()
798 print_keyword (cd, info, & m32c_cgen_opval_h_gr_QI, fields->f_src32_rn_prefixed_QI, 0); in m32c_cgen_print_operand()
801 print_keyword (cd, info, & m32c_cgen_opval_h_gr_SI, fields->f_src32_rn_prefixed_SI, 0); in m32c_cgen_print_operand()
804 print_keyword (cd, info, & m32c_cgen_opval_h_gr_HI, fields->f_src32_rn_unprefixed_HI, 0); in m32c_cgen_print_operand()
807 print_keyword (cd, info, & m32c_cgen_opval_h_gr_QI, fields->f_src32_rn_unprefixed_QI, 0); in m32c_cgen_print_operand()
810 print_keyword (cd, info, & m32c_cgen_opval_h_gr_SI, fields->f_src32_rn_unprefixed_SI, 0); in m32c_cgen_print_operand()
813 print_r0l_r0h (cd, info, fields->f_5_1, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
816 print_X (cd, info, 0, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
819 print_Z (cd, info, 0, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
822 print_keyword (cd, info, & m32c_cgen_opval_h_cond16, fields->f_dsp_16_u8, 0); in m32c_cgen_print_operand()
825 print_keyword (cd, info, & m32c_cgen_opval_h_cond16, fields->f_dsp_24_u8, 0); in m32c_cgen_print_operand()
828 print_keyword (cd, info, & m32c_cgen_opval_h_cond16, fields->f_dsp_32_u8, 0); in m32c_cgen_print_operand()
831 print_keyword (cd, info, & m32c_cgen_opval_h_cond16c, fields->f_cond16, 0); in m32c_cgen_print_operand()
834 print_keyword (cd, info, & m32c_cgen_opval_h_cond16j, fields->f_cond16, 0); in m32c_cgen_print_operand()
837 print_keyword (cd, info, & m32c_cgen_opval_h_cond16j_5, fields->f_cond16j_5, 0); in m32c_cgen_print_operand()
840 …print_keyword (cd, info, & m32c_cgen_opval_h_cond32, fields->f_cond32, 0|(1<<CGEN_OPERAND_VIRTUAL)… in m32c_cgen_print_operand()
843 print_keyword (cd, info, & m32c_cgen_opval_h_cond32, fields->f_dsp_16_u8, 0); in m32c_cgen_print_operand()
846 print_keyword (cd, info, & m32c_cgen_opval_h_cond32, fields->f_dsp_24_u8, 0); in m32c_cgen_print_operand()
849 print_keyword (cd, info, & m32c_cgen_opval_h_cond32, fields->f_dsp_32_u8, 0); in m32c_cgen_print_operand()
852 print_keyword (cd, info, & m32c_cgen_opval_h_cond32, fields->f_dsp_40_u8, 0); in m32c_cgen_print_operand()
855 …print_keyword (cd, info, & m32c_cgen_opval_h_cond32, fields->f_cond32j, 0|(1<<CGEN_OPERAND_VIRTUAL… in m32c_cgen_print_operand()
858 print_keyword (cd, info, & m32c_cgen_opval_h_cr1_32, fields->f_21_3, 0); in m32c_cgen_print_operand()
861 print_keyword (cd, info, & m32c_cgen_opval_h_cr1_32, fields->f_13_3, 0); in m32c_cgen_print_operand()
864 print_keyword (cd, info, & m32c_cgen_opval_h_cr_16, fields->f_9_3, 0); in m32c_cgen_print_operand()
867 print_keyword (cd, info, & m32c_cgen_opval_h_cr2_32, fields->f_13_3, 0); in m32c_cgen_print_operand()
870 print_keyword (cd, info, & m32c_cgen_opval_h_cr3_32, fields->f_21_3, 0); in m32c_cgen_print_operand()
873 print_keyword (cd, info, & m32c_cgen_opval_h_cr3_32, fields->f_13_3, 0); in m32c_cgen_print_operand()
876 print_keyword (cd, info, & m32c_cgen_opval_h_flags, fields->f_9_3, 0); in m32c_cgen_print_operand()
879 print_keyword (cd, info, & m32c_cgen_opval_h_flags, fields->f_13_3, 0); in m32c_cgen_print_operand()
882 print_keyword (cd, info, & m32c_cgen_opval_h_cond32, fields->f_cond16, 0); in m32c_cgen_print_operand()
885 print_size (cd, info, 0, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); in m32c_cgen_print_operand()
922 disassemble_info *info = (disassemble_info *) dis_info; in print_normal() local
928 (*info->fprintf_func) (info->stream, "%ld", value); in print_normal()
930 (*info->fprintf_func) (info->stream, "0x%lx", value); in print_normal()
943 disassemble_info *info = (disassemble_info *) dis_info; in print_address() local
949 (*info->print_address_func) (value, info); in print_address()
951 (*info->print_address_func) (value, info); in print_address()
953 (*info->fprintf_func) (info->stream, "%ld", (long) value); in print_address()
955 (*info->fprintf_func) (info->stream, "0x%lx", (long) value); in print_address()
967 disassemble_info *info = (disassemble_info *) dis_info; in print_keyword() local
972 (*info->fprintf_func) (info->stream, "%s", ke->name); in print_keyword()
974 (*info->fprintf_func) (info->stream, "???"); in print_keyword()
991 disassemble_info *info = (disassemble_info *) dis_info; in print_insn_normal() local
1000 (*info->fprintf_func) (info->stream, "%s", CGEN_INSN_MNEMONIC (insn)); in print_insn_normal()
1005 (*info->fprintf_func) (info->stream, "%c", CGEN_SYNTAX_CHAR (*syn)); in print_insn_normal()
1010 m32c_cgen_print_operand (cd, CGEN_SYNTAX_FIELD (*syn), info, in print_insn_normal()
1022 disassemble_info *info, in read_insn() argument
1028 int status = (*info->read_memory_func) (pc, buf, buflen, info); in read_insn()
1032 (*info->memory_error_func) (status, pc, info); in read_insn()
1036 ex_info->dis_info = info; in read_insn()
1040 *insn_value = bfd_get_bits (buf, buflen * 8, info->endian == BFD_ENDIAN_BIG); in read_insn()
1053 disassemble_info *info, in print_insn() argument
1072 ex_info.dis_info = info; in print_insn()
1105 info->endian == BFD_ENDIAN_BIG); in print_insn()
1122 int rc = read_insn (cd, pc, info, buf, in print_insn()
1139 CGEN_PRINT_FN (cd, insn) (cd, info, insn, &fields, pc, length); in print_insn()
1160 default_print_insn (CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info) in default_print_insn() argument
1168 status = (*info->read_memory_func) (pc, buf, buflen, info); in default_print_insn()
1174 status = (*info->read_memory_func) (pc, buf, buflen, info); in default_print_insn()
1179 (*info->memory_error_func) (status, pc, info); in default_print_insn()
1183 return print_insn (cd, pc, info, buf, buflen); in default_print_insn()
1200 print_insn_m32c (bfd_vma pc, disassemble_info *info) in print_insn_m32c() argument
1211 int endian = (info->endian == BFD_ENDIAN_BIG in print_insn_m32c()
1220 arch = info->arch; in print_insn_m32c()
1227 mach = CGEN_COMPUTE_MACH (info); in print_insn_m32c()
1229 mach = info->mach; in print_insn_m32c()
1240 cgen_bitset_add (isa, CGEN_COMPUTE_ISA (info)); in print_insn_m32c()
1243 isa = info->insn_sets; in print_insn_m32c()
1303 length = CGEN_PRINT_INSN (cd, pc, info); in print_insn_m32c()
1309 (*info->fprintf_func) (info->stream, UNKNOWN_INSN_MSG); in print_insn_m32c()