how to support Multiple interruption.

I am trying to support “Multiple interruption” by software. I’d like to know how to do it with NS9360. Does anyone have any idea? or could you show me the sample code? My design is: in ISR, 1: read ISRADDR(0xA0900168) 2: enable IRQ 3: do somthing for the Inturruption 4: disable IRQ 5: write ISRADDR(0xA0900168) 6: exit but I couldn’t make it. doing IRQ1 process at line 3, IRQ0 is occurred. and then doing IRQ0 process at line 5, we observed the IRQ signal of IRQ1 again in the status reg(0xA0900168) Guess the IRQ1 process again. the stack is corrupted.