;       SCCSID = @(#)fp.inc	6.1 90/11/17
;      SCCSID = @(#)fp.inc	13.1 88/10/14
;
; Structure used by 8087/80287 in the FSAVE and FRSTOR instructions
;

fp_chip	struc			; Floating point chip state
	fp_ctl	dw	?	; Control word
	fp_stat	dw	?	; Status word
	fp_tag	dw	?	; Tag worg
	fp_ip	dw	?	; Instruction pointer (protected mode)
	fp_cs	dw	?	; CS value (protected mode)
	fp_bx	dw	?	; Data pointer (protected mode)
	fp_es	dw	?	; Data selector (protected mode)
	fp_stk	dt	8 dup(?); Register stack
fp_chip	ends

;
; FPStatus flags
;

FP_USED		equ	01H	; Floating point coprocessor used
FP_INIT		equ	02H	; Floating point coprocessor initialized
