PIC16F877 & Hi-Tech C - compiler problem?
Wynn Rostek email (remove spam text)
> To Michael Dipperstein, Bob Blick, & Mike Mansheim:
> Thanks for the info guys. I'll try out your suggestions. I'd hate to have
> migrate to a larger PIC this late in the game, but might have to. I'll
> report back my results to the list later.
You don't have to, just add bank1, or bank2, or bank3 in front of some of
your other variable declarations.
This doesn't work with automatic variables (variables declared in fuctions)
just static (file scope) variables.
unsigned char tmp;
bank1 unsigned char tmp;
knock yourself out.
P.S. Check Section 5.19.2 Bank1, Bank2, Bank3 Type Qualifiers, page 140 of
the new manual.
http://www.piclist.com hint: The PICList is archived three different
ways. See http://www.piclist.com/#archives for details.
See also: www.piclist.com/techref/microchip/languages.htm?key=c
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the