On gio, mag 30, 2013 at 11:14:57 +0800, Fuxin Zhang wrote: > 于 2013/5/30 20:53, Alessandro Ghedini 写道: > >And here is the relevant assembly: > >>(gdb) disas > >> [...] > >> 0x380801c4 <+508>: move at,at > >>=> 0x380801c8 <+512>: beq v0,t0,0x380801e4 <preen_nsegments+540> > Older MIPS instruction set has no 'mul' instruction, normally it is > mult/multu, which stores the results to hi/lo register pair instead > of a general purpose destination register. Then use mfhi/mflo to use > the result. > > The binary must be compiled with one of the latest instruction set(I > don't remember the exact version, maybe mips32r2/mips64r2). > Compiling with -mips2 or something like that should be ok. Yup, that seems to solve the problem, thanks! -- perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
Attachment:
signature.asc
Description: Digital signature