Oic 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? thanks ----- Original Message ----- From: "Jan-Erik Soderholm XA (TN/PAC)" To: Sent: Wednesday, January 07, 2004 2:03 AM Subject: Re: [PIC]: ADDWF PCL,F > PSL wrote : > > how many cycle does > > ADDWF PCL,F > > takes? is it 2 cycles like goto or is it 1 cycle? > > > *Any* instruction that modifies > the PCL takes 2 cycles, what ever the > data sheet says... > > Jan-Erik. > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu