> FYI, _PORTBbits is NOT in SDCC/non-free/include/pic14/pic16f627a.h (at
> least not directly). I found a reference to it in the lib file
> (SDCC/non-free/lib/pic14/pic16f627a.lib).

You are right, my previous post was misleading and did not express
what I wanted to say:

The #define that maps RB0 to PORTBbits.RB0 is in the header file way down.

The compiler translates PORTBbits to _PORTBbits for namespace
separation reasons.
_PORTBbits does not occur in any source file but is emitted by the
compiler instead of (or in addition to) PORTBbits.

Raphael

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to