Either (a) Your interrupt happens while you are in another bank or (b) Your PIC is broken. /\/\/\/*=3DMartin ----- Original Message ----- From: "Benjamin Menk=FCc" 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=FCc Auto-Intern GmbH Haberlandstr. 125 44359 Dortmund Tel: 0231-1893070 Fax: 0231-93699548 www.auto-intern.com Meinen PGP-Schl=FCssel 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.