Stage 8
If the XSM simulator is run with the the timer set to some value - say 20, then every time the machine completes execution of 20 instructions in user mode, the timer device will send a hardware signal that interrupts machine execution. The machine will push the IP value of the next user mode instruction to the stack and pass control to the the timer interrupt handler at physical address 2048.
We should load the timer interrupt into two pages 4 and 5. The routine is loaded to blocks 17 and 18.
load --int=timer ../spl/spl_progs/sample_timer.xsm