674 |
|
else |
675 |
|
return -2; |
676 |
|
|
677 |
– |
#if 1 |
678 |
– |
/* FIXME: We are bound to have 32-bit addresses even if cxmon is |
679 |
– |
requested to run in real mode, because m68k is 32-bit. */ |
680 |
– |
(*info->fprintf_func) (info->stream, "$%08x", (uint32)(addr + disp)); |
681 |
– |
#else |
677 |
|
(*info->print_address_func) (addr + disp, info); |
683 |
– |
#endif |
678 |
|
break; |
679 |
|
|
680 |
|
case 'd': |
774 |
|
|
775 |
|
case 2: |
776 |
|
val = NEXTWORD (p); |
777 |
< |
(*info->fprintf_func) (info->stream, "($%08x,pc)", addr + val); |
777 |
> |
(*info->fprintf_func) (info->stream, "("); |
778 |
> |
(*info->print_address_func) (addr + val, info); |
779 |
> |
(*info->fprintf_func) (info->stream, ",pc)"); |
780 |
|
break; |
781 |
|
|
782 |
|
case 3: |
1212 |
|
buf[0] = '\0'; |
1213 |
|
} |
1214 |
|
if (outer_disp) |
1215 |
< |
(*info->fprintf_func) (info->stream, "],$%08x", outer_disp); |
1215 |
> |
(*info->fprintf_func) (info->stream, "],$%08x", (uint32)outer_disp); |
1216 |
|
else |
1217 |
< |
(*info->fprintf_func) (info->stream, "]", outer_disp); |
1217 |
> |
(*info->fprintf_func) (info->stream, "]"); |
1218 |
|
if (buf[0] != '\0') |
1219 |
|
(*info->fprintf_func) (info->stream, ",%s", buf); |
1220 |
|
(*info->fprintf_func) (info->stream, ")"); |