> > Note that this code still requires that all jump table > entries are in > > the same 256-instructions page. For a jumptable that crosses a page > > boundary (hence for all >256 entries tables) you will have to > > calculate the value to load into PCLATH. > > Unless I'm really missing something here, I don't understand > why you say > that. His technique takes into consideration that a page is being > crossed and appropriately increments PCLATH by 1 when that is > happening. Sorry, you are right. I did not look well enough. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist