;	WinSTon

;	TRAPV

;	XNZVC
;	-----

PUBLIC _trapv

;-----------------------------------------------------------------------
;TRAPV
_trapv PROC NEAR
	test	al,EMU_V								;Is overflow set?
	je		no_overflow

	mov		[_ExceptionVector],EXCEPTION_TRAPV		;Overflow vector
	call	asm_exception							;Cause trap

no_overflow:;
	FRET
_trapv ENDP
