modified to accept nested interrupts.

	modified:   sim/sim_interrupts.c
	modified:   sim/sim_interrupts.h