looks like you're missing something -- 2.14 has this bug workaround. ~d On Thursday 31 July 2003 04:06, Takahashi, Chris wrote: > The work around for the constant generator bug in the link below was still > generating incorrect code. The problem was that the bug was present in all > versions of the msp430 but the work around was only applied to some > versions. > > Attached is a diff -u of a fixed version of > binutils-2.14/gas/config/tc-msp430.c with the original. > > Also attached is some simple code that will generate the faulty code in the > msp430x448 (and others). If you look at an asm listing you will see a push > #4 which generates the opcode 62 12 which is buggy (so is 72 12). > > Bug: > http://www.ti.com/cgi-bin/sc/buglist.cgi?bug=CPU4 > > -Chris Takahashi
-- /***************************************************************** ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ `6_ 6 ) `-. ( ).`-.__.`) State Polytechnical Univ. (_Y_.)' ._ ) `._ `. ``-..-' Radio-Physics Departament _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia (il),-'' (li),' ((!.-' +7 (812) 5403923, 5585314 *****************************************************************/