From: Rod B. <ro...@bo...> - 2005-05-23 21:01:23
|
This is just a wild guess but I got the impression that even the previous working program did not work as well. I'm guessing your problem is not with the compiler but with the environment. I would suggest that before reprogramming the part you erase the flash first I don't want to teach granny to suck eggs but you do need to erase the flash before re-programming. Regards, Rod Boyce J S wrote: >Hi Bernardo, > >Hmm, not sure about that. I checked the asm file and >I see comments in there showing where the for loops >are and such. Also, there isn't any warnings or >errors during the compile for me to look further at. > >I also just noticed a new snapshot was released and >decided to try it just in case. But unfortunately, it >still won't work. > >Thanks, >J Silverman > >--- Bernardo Clavijo <bjc...@ya...> wrote: > > >>doesen´t the optimizer jump out of that "delay" for >>just because the >>variable didn't get used so far? >> >>just an idea, check warnings during conpile, and the >>asm file, which >>have a lot of comments left by the compiler. >> >>Saludos >> >> BJ >>Bernardo Clavijo >> >> >> >>>sfr P0 = 0x80; >>>sfr P1 = 0x90; >>> >>>void main (void) >>>{ >>> unsigned char x=0; >>> unsigned int y; >>> >>> while (1) >>> { >>> if (x==0) {x=255;} else {x=0;} >>> >>> P0 = x; >>> P1 = x; >>> >>> if (x==0) >>> for (y = 0; y < 20000; y++) >>> { ; } >>> else >>> for (y = 0; y < 60000; y++) >>> { ; } >>> } >>>} >>> >>> >>__________________________________________________ >>Correo Yahoo! >>Espacio para todos tus mensajes, antivirus y >>antispam ¡gratis! >>¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar >> >> >> >> >> >------------------------------------------------------- > > >>This SF.Net email is sponsored by Oracle Space >>Sweepstakes >>Want to be the first software developer in space? >>Enter now for the Oracle Space Sweepstakes! >> >> >> >http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > > >>_______________________________________________ >>Sdcc-user mailing list >>Sdc...@li... >> >> >> >https://lists.sourceforge.net/lists/listinfo/sdcc-user > > > > > >__________________________________ >Discover Yahoo! >Find restaurants, movies, travel and more fun for the weekend. Check it out! >http://discover.yahoo.com/weekend.html > > > >------------------------------------------------------- >This SF.Net email is sponsored by Oracle Space Sweepstakes >Want to be the first software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >_______________________________________________ >Sdcc-user mailing list >Sdc...@li... >https://lists.sourceforge.net/lists/listinfo/sdcc-user > > |