HI George, and many thanks for the time you spent on this :-)

Le dimanche 1 novembre 2009, George M. Gallant, Jr. a écrit :
> 
>  SDCC :  ms51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
> 2.9.0 #5416 (Oct  6 2009) (UNIX)

Mine is from latest Ubuntu Karmic packages and displays: 2.9.0 #5416 (Aug 15 
2009), so same version number but older date...

> installed and am unable to replicate your problem. I wrote a Makefile to
> compile from the command line. Did not generate a hex as I do have you
> CPU chip.

Hmm... well, if you were able to compile it, I'm able too... But that's the 
actual running of this part of this program that shows completely erratic on 
my system (i.e. reacting as if the same input was changing state all the time 
in a random way when I know for sure it isn't... and not reacting to actual 
state changes...).

If the for(...) loop is there, the program's behaviour is completely erratic, 
if I remove the loop and manually set the "i" value to any possible value that 
"i" should be able to take, then that part of the program processes the 
corresponding entry perfectly well.

I supposed there might be either something wrong in my code (although I spent 
2 days and a night checking it...) or something weird in the way sdcc 
translates this part of the code into assembler and that could be visible in 
the assembly code for sdcc specialists or developpers... But well, yes, it 
compiles, it just runs plain wrong :-(

Thanks again for your time and help.

-- 
Michel Bouissou (OpenPGP ID 0xEB04D09C)

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to