piclist 2001\01\19\090817a >
Thread: PIC16F877 & Hi-Tech C - compiler problem?
face BY : 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.
>         Sam....


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.

Wynn Rostek.

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.

<001201c08221$295f0a80$62010a0a@GOLDEN> 7bit

See also: www.piclist.com/techref/microchip/languages.htm?key=c
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) PIC16F877 & Hi-Tech C - compiler problem?

month overview.

new search...