is there a way to name bits the same for C and asm?
In Hitech C, has anyone found a neat way to name a port + bit
combination such that the SAME name can be used with C and inline
Obviously I can define the port in 2 ways, one for each usage, but
that's a bit untidy....
e.g. for assembler #define adc_cs_a _PORTB,4
#define adc_cs_c RB4
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
See also: www.piclist.com/techref/microchip/languages.htm?key=asm
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the