Hi Hardy, compiling with -Wall doesn't change our output anything:
$ msp430-gcc -mmcu=msp430x169 -Wall -g -c sample.c -o sample.o sample.c:76: warning: `pcr' defined but not used /cygdrive/c/DOCUME~1/em3702/LOCALS~1/Temp/ccByWWyb.s: Assembler messages: /cygdrive/c/DOCUME~1/em3702/LOCALS~1/Temp/ccByWWyb.s:152: Error: operand out of range: 521 I did attach the source file, so that ist should be easy for everyone to compile it. I compiled with -S and looked at the assembly. There is a jump instruction on line 152 pointing to a label on line 519. That seems to be too much... Reinhard.Griech wrote: > > [email protected] wrote on 25.04.2008 09:13:05: > : >> The command line to compile is >> msp430-gcc -mmcu=msp430x169 -g -c sample.c -o sample.o > > compile with -Wall and send the output. > > Hardy > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > > -- View this message in context: http://www.nabble.com/Error%3A-operand-out-of-range%3A-521-tp16891878p16894907.html Sent from the MSP430 gcc - Users mailing list archive at Nabble.com.
