; Simple Win32ASM program for demonstrating fpucond.inc
; Written by X-Calibre, 2000

.386
.Model Flat, StdCall

include windows.inc
include user32.inc

include fpucond287.inc

includelib user32.lib

.data
operand1	REAL4	-100.0
operand2	REAL4	100.0

text		BYTE	"Condition reached",0
caption		BYTE	"FPU test program",0

.code
start:
	fld		[operand1]
	fcomp	[operand2]
	fjle	box
	ret

box:
	INVOKE	MessageBox, NULL, ADDR text, ADDR caption, MB_OK
	ret
end start

