http://sourceware.org/bugzilla/show_bug.cgi?id=14875
Bug #: 14875 Summary: Disassembling m68k shows scales which the m68000 does not support Product: binutils Version: 2.23 Status: NEW Severity: minor Priority: P2 Component: binutils AssignedTo: unassig...@sourceware.org ReportedBy: i-bugzilla-sourceware-org-kasuj...@rf.risimo.net Classification: Unclassified The M68000 chip does not support scales in the "Memory Indirect Preindexed" mode. objdump should not display the scale if disassembling of the M68000 is requested via -mm68k:68000 Also a minor thing is that the offsets are printed with too many leading zeros. /tmp/binutils-2.23.1> cat bug.s orib #64,%a0@(56,%d3:w) orib #64,%a0@(56,%d3:w:1) orib #64,%a0@(56,%d3:w:2) orib #64,%a0@(56,%d3:w:4) orib #64,%a0@(56,%d3:w:8) /tmp/binutils-2.23.1> ./gas/as-new bug.s -o bug.o /tmp/binutils-2.23.1> ./binutils/objdump -mm68k:68000 -D bug.o bug.o: file format elf32-m68k Disassembly of section .text: 00000000 <.text>: 0: 0030 0040 3038 orib #64,%a0@(0000000000000038,%d3:w) 6: 0030 0040 3038 orib #64,%a0@(0000000000000038,%d3:w) c: 0030 0040 3238 orib #64,%a0@(0000000000000038,%d3:w:2) 12: 0030 0040 3438 orib #64,%a0@(0000000000000038,%d3:w:4) 18: 0030 0040 3638 orib #64,%a0@(0000000000000038,%d3:w:8) /tmp/binutils-2.23.1> /tmp/binutils-2.23.1> uname -m -p -i -o -r 2.6.34.9-69.fc13.x86_64 x86_64 x86_64 x86_64 GNU/Linux -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils