'undocumented option for MPLAB-C (V1.10)'
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.
Am Weichselgarten 7
91058 Erlangen (Germany)
E-mail: zam.nf.fh-nuernberg.de (Ger/Eng/Spa welcome) ms
More... (looser matching)
- Last day of these posts
- In 1997
, 1998 only
- New search...