Thanh Nga wrote:
Hi,
I tried to disassemble an executable file using objdump and when i looked into the output file, I got this 362c: 9b 5b 04 00 rla 4(r11) ;

3630: 00 00

3632: 9b 6b 06 00     rlc 6(r11) ;

3636: 02 00

I think the result assembly is wrong, it should be

362c: 9b 5b 04 00     add 4(r11),    0(r11) ;

3630: 00 00

3632: 9b 6b 06 00     addc 6(r11),    2(r11) ;

3636: 02 00

Is this a bug?
Yes, it was. But it was fixed in September.
(http://mspgcc.cvs.sourceforge.net/viewvc/mspgcc/packaging/patches/binutils-2.18-430X.patch?revision=1.1&view=markup , line 5268).
You should update your mspgcc toolchain or rebuld binutils with last patches.
Consult wiki 
(http://apps.sourceforge.net/mediawiki/mspgcc/index.php?title=MSPGCC_Wiki) if 
necessary.

--
Regards,
   Sergey A. Borshch            mailto: [email protected]
     SB ELDI ltd. Riga, Latvia

Reply via email to