Thanks guys I now have a better grasp ov it just gotta rewrite me macro to take account of PCLATH Thanks Steve -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Jan-Erik Soderholm XA (TN/PAC) Sent: 02 January 2004 23:26 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: FSR and page boundry help needed (please) Jinx wrote : > > > Its (AN556) computed goto crossing 256 bit page boundary > > Example 5 is what you need... Just a minor note... A couple of months ago there was a thread where I and Olin (mostly) showed that AN556 is just full of errors (and maybe correct but badly written code anyway). Example 5 is maybe the most obvious example of this. (Hint: What happens if the code in example 5 is entered with offest = x'00' ?) I'm not going to re-write all comments here, they should be available from the archive... :-) Jan-Erik. -- 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