Searching \ for 'undocumented option for MPLAB-C (V1.10)' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/languages.htm?key=mplab
Search entire site for: 'undocumented option for MPLAB-C (V1.10)'.

Truncated match.
PICList Thread
'undocumented option for MPLAB-C (V1.10)'
1997\03\06@073442 by Marc Schmaeche

flavicon
face
Dear Tjaart,

I've had the same trouble with the the unnecessary bsf 3.5, and bcf 3.5 and I
got a hint from microchip (which works at least on MPLAB-C V1.10).

Just 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)! That's fine if you just (almost) use bank 0.

So if you're using different ram banks it will become a little bit tricky,
because you've to take care of all the bank-switching (that is setting &
clearing Bit RP0 by yourself). But I suppose it's worth the effort if you need
to save ROM.

Nevertheless it's a nice workaround; but using the option j7 the compiler seems
to get stuck sometimes.

Best regards,
Marc Schmaeche

ZAM-AZN
Am Weichselgarten 7
91058 Erlangen (Germany)
E-mail: spam_OUTmsTakeThisOuTspamzam.nf.fh-nuernberg.de (Ger/Eng/Spa welcome)

More... (looser matching)
- Last day of these posts
- In 1997 , 1998 only
- Today
- New search...