*****************************************************************************
*
*	Asm bit for AssignX
*
*	(it was easier to write in ASM than to figure out how to get
*	the compiler not to complain about the code)
*
*****************************************************************************

	xdef	_MyFunc
	xref	_OrigFunc

	section code,code

_MyFunc		move.l	a4,-(a7)
		movem.l	8(a7),a0-a3
		move.l	_OrigFunc,a4
		jsr	(a4)
		move.l	(a7)+,a4
		rts


	END
