;8087 MACRO FOR MICROSOFT DUMB ASSEMBLER V4.0

FINIT	MACRO			;INITIALIZE 8087
	WAIT			;CLEARS THE REGISTER STACK
	DB	0DBH,0EBH
	ENDM

FLDPI	MACRO			;PUSH THE VALUE OF PI
	WAIT			;ONTO THE REGISTER STACK
	DB	0D9H,0EBH
	ENDM

FILD	MACRO	IVAR		;LOADS SHORT INTEGER ONTO THE
	WAIT			;REGISTER STACK
	ESC	18H,IVAR
	ENDM

FDIV	MACRO	STI		;FDIV	ST,ST(i)
	WAIT
	DB	0D8H,0F0H+STI
	ENDM

FMUL	MACRO	STI		;FMUL	ST,ST(i)
	WAIT
	DB	0D8H,0C8H+STI
	ENDM

FST	MACRO	RVAR		;FST	RVAR
	WAIT			;STORES SHORT REAL FORMAT
	ESC	0AH,RVAR
	WAIT
	ENDM

