Dear Tjaart, >> Hi PIC fans, >> >> I'm also suffering from several MPLAB-C bugs! But is there a better solution >> than MPLAB-C available, that is a R E L E A S E D C-compiler with >> sufficient >> - code-efficiency, >> - mixing C and ASM, >> - HLL-debugging support? > >Try this : >Sit down and pour yourself a stiff one. >Import your list file into a word proc package. Do a word count on bsf >3.5, and bcf 3.5 >I get up to 20% of my precious code space littered with RAM switching. >SIS! YUCK! I've had the same problem and I got a hint from microchip. If you (almost) only need bank0 try: #pragma option j7 This suppresses all the unnecessary bsf 3.5, and bcf 3.5! But .... You then have to take care of the Bits RP0, RP1 by yourself (for accessing TRIS-Registers and so on)! Nevertheless it's a nice workaround; but using the option j7 the compiler seems to get stuck sometimes. Regards, Marc Schmaeche ZAM-AZN Am Weichselgarten 7 91058 Erlangen (Germany) E-mail: ms@zam.nf.fh-nuernberg.de (Ger/Eng/Spa welcome)