>I use PIC16F876 and want to handle multiple >interrupts. >the all examples I have searched only shows single >interrupt service routine.. Once you enter the interrupt routine (at org 0x004), you simply poll all the interrupt flag bits for the interrupts that you have enabled. Don't forget to CLEAR the appropriate flag bits before you issue a RETFIE command! e.g. ORG 0x004 btfsc INTCON, INTF ; check for RB0 interrupt goto INTF_SET ; RB0 interrupt has occurred btfsc INTCON, T0IF ; check for TMR0 overflow goto TMR0_SET ; TMR0 overflow has occurred INTF_SET bcf INTCON, INTF ; clear the flag bit first . . . retfie TMR0_SET bcf INTCON, T0IF ; clear the flag bit first . . . retfie --Andrew _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- 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