On Tue, 2013-01-01 12:36:41 -0500, Mouse <mouse at rodents-montreal.org> wrote:
which is nonsensical enough (movzwl $0 rather than
clrl or even
movzbl $0?) to suggest to me that 20046858 is an entry mask, and indeed
disassembling it that way gives
2004684e: movl $5,1030(r6)
20046853: clrq 1034(r6)
20046857: ret
20046858: entry mask: r5 r4 r3 r2
2004685a: subl2 $24,sp
2004685d: movl $1,r5
20046860: moval 04(ap),r4
20046864: movl (r4),r1
which makes a whole lot more sense.
Just to mention: If you're using binutils's objdump to disassemble the
ROM, you can use (multiple times) -M entry:0x.... to mark certain
addresses as entry masks (thus, as function start addresses.)
MfG, JBG
--
Jan-Benedict Glaw jbglaw at lug-owl.de +49-172-7608481
Signature of: Alles sollte so einfach wie m?glich gemacht sein.
the second : Aber nicht einfacher. (Einstein)