but it goes already to timer0_int so the bank should be right.... And i am pretty sure that my pic is not broken.. However i am doing isp debuggin... might that be the reason? ----- Original Message ----- From: "Martin Peach" To: Sent: Wednesday, February 13, 2002 10:17 PM Subject: Re: [PIC]: Timer Either (a) Your interrupt happens while you are in another bank or (b) Your PIC is broken. /\/\/\/*=Martin ----- Original Message ----- From: "Benjamin Menk|c" To: Sent: Wednesday, February 13, 2002 3:51 PM Subject: [PIC]: Timer My Int routine looks like this: ORG 0x0004 btfsc INTCON,T0IF goto timer0_int goto end_int timer0_int movlw 0 movwf TMR0 bcf INTCON,T0IF goto end_int asdaa nop goto asdaa end_int retfie Somehow the T0IF doesn't get cleared.... whats wrong??? regards, BEN -------------------------- Benjamin Menk|c Auto-Intern GmbH Haberlandstr. 125 44359 Dortmund Tel: 0231-1893070 Fax: 0231-93699548 www.auto-intern.com Meinen PGP-Schl|ssel kann man unter: http://www.auto-intern.com/php/pgp_menkuec.php finden. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.