Oh yes, I almost forgot. My quick fix (with zero overhead) for the problem was to include the following line to any branch of the "if". *px += 0; I don't know why it works so I don't know if this is an ultimate quickfix just tried and have seen in asm the result is OK.
JW ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user