Increment execution pattern pointer.
eptr = eptr + 1
This instruction increments the execution pattern pointer register. The execution pattern pointer register is an index into the execution pattern table. Incrementing the pointer may cause the active execution context to change. This instruction also flushes the processor pipeline of instructions.
This instruction will never cause an exception.
Opcode7 | Reserved18 | Func7 |
0 | ---- | 15 |
;------------------------------------------------------------------------------
; 1000 Hz interrupt
; This IRQ must be fast.
; Increments the millisecond counter, and switches to the next context
;------------------------------------------------------------------------------
;
irq1000Hz:
sw | r26,r26_save | |
sw | r1,r1_save | |
outb | r0,0xDCFFFD | ; acknowledge interrupt |
lw | r1,Milliseconds | ; increment milliseconds count |
addui | r1,r1,#1 | |
sw | r1,Milliseconds | |
lw | r26,r26_save | |
lw | r1,r1_save | |
iepp | ; move to the next context | |
iret | ; return to the next context |