Sorry for the delayed reply - been in firedrill mode for a while. I've just about used up all my banks - that's part of the problem. Sam.... > -----Original Message----- > From: Wynn Rostek [mailto:wynnr@GOLDENPRS.COM] > Sent: Friday, January 19, 2001 6:07 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: PIC16F877 & Hi-Tech C - compiler problem? > > > > To Michael Dipperstein, Bob Blick, & Mike Mansheim: > > Thanks for the info guys. I'll try out your suggestions. > I'd hate to have > to > > 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.... > > 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. > > was: > unsigned char tmp; > > is: > > 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. > > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.