Well you almost have it right. There is only 1 interrupt vector or in other words there can only be 1 interrupt routine. Therefore after entering the interrupt routine you must check each interrupt flag to see which interrupt occured and service that interrupt. After this you must clear the approprate interrupt flag then return.

Dave Purola,