Hi, See comments below; (I've only had a quick look at it) At 12:17 AM 25/10/00 -0500, you wrote: >Hello PIC's gurus > >Actually we are trying to configure RB0/INT pin in a 16C74B >as an external interrupcion with no succeded. > >The program seems to ignore the external interruption and never run the >service routine. > >Has anyone been experienced a similar situation, because we can not >configure RB0/INT either as an output or as input. > >Our source code program is: > >ORG 000H >GOTO MAIN >ORG 004H >GOTO SERVICE >MAIN: > BSF STATUS, RP0 > MOVLW 0XF1 > MOVWF TRISB > MOVLW 07H > MOVWF ADCON1 > BCF STATUS, RP0 > BSF STATUS, RP0 > BSF OPTION_REG, INTEDG > BCF OPTION_REG, 7 > MOVLW b'10110000' > MOVWF INTCON You forgot to go back to bank 0 here Also, you have the timer 0 interrupt enabled >PT1: SLEEP > GOTO PT1 > >SERVICE: > BSF PORTB,3 > BCF INTCON, INTF > BCF INTCON, RBIF > RETFIE >END > >Any help from you will be apreciate > >Regards > >Lenin Pineda -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics