James: I think that you got the URL wrong... http://missoula.bigsky.net/oxymoron/midgetturd.html ;-) -Robert Severson http://www.usbmicro.com http://usbsimm.home.att.net http://www.jged.com http://www.annatechnology.com > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of James Newton > Sent: Friday, March 23, 2001 12:44 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: Code Commenting, was: LCD problems revisited > > > One of the best (although sometimes painful) things about > this list is the > way that any code you post with a dumb mistake in it is instantly torn > apart... Mostly in a nice way. > > Anyone who hasn't read "the Cathedral and the Bazaar" should > find the time > to do so... > http://www.tuxedo.org/~esr/writings/cathedral-bazaar/ > > This IS our tribe. > > --- > James Newton (PICList Admin #3) > mailto:jamesnewton@piclist.com 1-619-652-0593 > PIC/PICList FAQ: http://www.piclist.com or .org > > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Olin Lathrop > Sent: Friday, March 23, 2001 09:27 > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: Code Commenting, was: LCD problems revisited > > > > I understand how it is easy to ensure that PCLATH matches > the current > > 256-byte code page on entry to a routine and by resetting > it after a call, > > but how do you handle the case where there is a 256 byte > boundary between > > the entry point and where you do a computed jump? > > You load PCLATH with the high byte of the table start address, which I > forgot to do in the example. Oops. > > > ******************************************************************** > Olin Lathrop, embedded systems consultant in Littleton Massachusetts > (978) 742-9014, olin@embedinc.com, http://www.embedinc.com > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads