Clear PCLATH when you enter interrupt routine. That will ensure a jump to PAGE0. Regards, Samo --- Eduardo Garcia wrote: > Hi all, > I am with a great doubt... > I am using PIC16F873, with 2 Program Pages. > What the best way to fix the problem below? > My program is executing in part on PAGE 1 and a > interrupt is generated. > The address 04 (interrupt vector) have a GOTO to my > interrupt routine > located at PAGE 0. But like I was in PAGE 1 a > incorrect jump is performed by > GOTO. > > How fix it? > > > Sorry my bad english. > I hope all understand me. > > Regards! > > > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system > (http://www.grisoft.com). > Version: 6.0.491 / Virus Database: 290 - Release > Date: 18/06/03 > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu