For some reason, the disassembler does some nasty stuff like this:
Code: Select all
30028a0: e1a03c45 asr r3, r5, #24
30028a4: e2588c09 subs r8, r8, #2304 ; 0x900
30028a8: 0001 lsls r1, r0, #0
30028aa: f10054d9 undefined instruction 0xf10054d9
The OLD version of objdump (GNU objdump 2.17 from 2005) works fine.
The version I was using (GNU objdump (GNU Binutils) 2.19.1) included with the new devkitpro is broken.