;References:
;swi - vector_handler_forward

;vector_handler_1C
;------------------
;Alters the returned time if MonotonicTime has been reset PRM1-726

.vector_handler_1C
 LDR     R14, MonotonicTime		;load the time offset
 TEQ     R14, #0			;did we reset monotonic time?
 BEQ     vector_handler_forward		;NO, forward to OS

 ADR     R12, _SPSR
 BL      pre_SWI_veneer			;call SWI that follows
 SWI     XOS_Mouse
 BL      post_SWI_veneer

 LDR     R12, MonotonicTime		;load the time offset
 SUB     R3, R3, R12			;subtract from real time

 ADR     R12, _SPSR
B       exit_SWI_veneer

 ._SPSR     DBD 4
