Revision 3b46e624 sparc-dis.c
b/sparc-dis.c | ||
---|---|---|
2566 | 2566 |
/* Nonzero means that we have found a plus sign in the args |
2567 | 2567 |
field of the opcode table. */ |
2568 | 2568 |
int found_plus = 0; |
2569 |
|
|
2569 |
|
|
2570 | 2570 |
/* Nonzero means we have an annulled branch. */ |
2571 | 2571 |
int is_annulled = 0; |
2572 | 2572 |
|
... | ... | |
2621 | 2621 |
} /* while there are comma started args */ |
2622 | 2622 |
|
2623 | 2623 |
(*info->fprintf_func) (stream, " "); |
2624 |
|
|
2624 |
|
|
2625 | 2625 |
switch (*s) |
2626 | 2626 |
{ |
2627 | 2627 |
case '+': |
... | ... | |
2722 | 2722 |
not before it. */ |
2723 | 2723 |
if (found_plus) |
2724 | 2724 |
imm_added_to_rs1 = 1; |
2725 |
|
|
2725 |
|
|
2726 | 2726 |
if (imm <= 9) |
2727 | 2727 |
(*info->fprintf_func) (stream, "%d", imm); |
2728 | 2728 |
else |
... | ... | |
2806 | 2806 |
case 'o': |
2807 | 2807 |
(*info->fprintf_func) (stream, "%%asi"); |
2808 | 2808 |
break; |
2809 |
|
|
2809 |
|
|
2810 | 2810 |
case 'W': |
2811 | 2811 |
(*info->fprintf_func) (stream, "%%tick"); |
2812 | 2812 |
break; |
... | ... | |
2859 | 2859 |
(*info->fprintf_func) (stream, "%d", X_RD (insn)); |
2860 | 2860 |
break; |
2861 | 2861 |
} |
2862 |
|
|
2862 |
|
|
2863 | 2863 |
case 'M': |
2864 | 2864 |
(*info->fprintf_func) (stream, "%%asr%d", X_RS1 (insn)); |
2865 | 2865 |
break; |
2866 |
|
|
2866 |
|
|
2867 | 2867 |
case 'm': |
2868 | 2868 |
(*info->fprintf_func) (stream, "%%asr%d", X_RD (insn)); |
2869 | 2869 |
break; |
2870 |
|
|
2870 |
|
|
2871 | 2871 |
case 'L': |
2872 | 2872 |
info->target = memaddr + SEX (X_DISP30 (insn), 30) * 4; |
2873 | 2873 |
(*info->print_address_func) (info->target, info); |
Also available in: Unified diff