Looking at the MSP430x1xx Family User Guide , it seems that the device does not support the interrupt status register with this information directly. You will need to have 2 separate interrupt vectors so that you can directly identify the difference, or you will need to query both devices to find out which one is needed.
If you use 2 interrupt vectors, they can, of course, call or go (if you use the assembly) to the same procedure to do the bulk of the work, as in the answer by Earlz .
Please note that the chip already has an interrupt vector table, so to do what you say in the comment you made in another answer, you just need to specify the interrupt vector entries for the “unused” interrupts that cause an error.
source share