PSL wrote: > anyway is there any restriection in where this instruction > can be use in creating a jump table. > I know one of it is that the jump table should be with in 256 > bytes(0x0000 to 0x0100) as by doing ADDWF PCL,F > we are doing a change at a max of 256. > i try the table on 0x0200 it does not work(16f876) > can any one enlighten me why? Hi. Download and read application note AN556 from Microchip. The text does pretty well describes "table reades" with "computed goto's", but the code examples has some errors, so use them with care. :-) Jan-Erik. PS. You seems to have a erratic shift key on your keyboard, it doesn't work at the beginning of a new sentence... -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu