FpuAtoFL    PROTO :DWORD,:DWORD,:DWORD
FpuFLtoA    PROTO :DWORD,:DWORD,:DWORD,:DWORD

FpuAdd      PROTO :DWORD,:DWORD,:DWORD,:DWORD
FpuSub      PROTO :DWORD,:DWORD,:DWORD,:DWORD
FpuMul      PROTO :DWORD,:DWORD,:DWORD,:DWORD
FpuDiv      PROTO :DWORD,:DWORD,:DWORD,:DWORD
FpuSqrt     PROTO :DWORD,:DWORD,:DWORD
FpuXexpY    PROTO :DWORD,:DWORD,:DWORD,:DWORD
FpuAbs      PROTO :DWORD,:DWORD,:DWORD
FpuTrunc    PROTO :DWORD,:DWORD,:DWORD
FpuRound    PROTO :DWORD,:DWORD,:DWORD
FpuChs      PROTO :DWORD,:DWORD,:DWORD

FpuLnx      PROTO :DWORD,:DWORD,:DWORD
FpuLogx     PROTO :DWORD,:DWORD,:DWORD
FpuEexpX    PROTO :DWORD,:DWORD,:DWORD
FpuTexpX    PROTO :DWORD,:DWORD,:DWORD

FpuSin      PROTO :DWORD,:DWORD,:DWORD
FpuCos      PROTO :DWORD,:DWORD,:DWORD
FpuTan      PROTO :DWORD,:DWORD,:DWORD
FpuArcsin   PROTO :DWORD,:DWORD,:DWORD
FpuArccos   PROTO :DWORD,:DWORD,:DWORD
FpuArctan   PROTO :DWORD,:DWORD,:DWORD

FpuSinh     PROTO :DWORD,:DWORD,:DWORD
FpuCosh     PROTO :DWORD,:DWORD,:DWORD
FpuTanh     PROTO :DWORD,:DWORD,:DWORD
FpuArcsinh  PROTO :DWORD,:DWORD,:DWORD
FpuArccosh  PROTO :DWORD,:DWORD,:DWORD
FpuArctanh  PROTO :DWORD,:DWORD,:DWORD

FpuSize     PROTO :DWORD,:DWORD,:DWORD
FpuComp     PROTO :DWORD,:DWORD,:DWORD
FpuExam     PROTO :DWORD,:DWORD
FpuState    PROTO :DWORD

SRC1_FPU    EQU   1
SRC1_REAL   EQU   2
SRC1_DMEM   EQU   4
SRC1_DIMM   EQU   8
SRC1_CONST  EQU   16

ANG_DEG     EQU   0
ANG_RAD     EQU   32

DEST_MEM    EQU   0
DEST_IMEM   EQU   64
DEST_FPU    EQU   128

SRC2_FPU    EQU   256
SRC2_REAL   EQU   512
SRC2_DMEM   EQU   1024
SRC2_DIMM   EQU   2048
SRC2_CONST  EQU   4096

STR_REG     EQU   0
STR_SCI     EQU   32768

FPU_PI      EQU   1
FPU_NAPIER  EQU   2

XAM_VALID   EQU   1
XAM_ZERO    EQU   2
XAM_NEG     EQU   4
XAM_SMALL   EQU   8
XAM_INFINIT EQU   16

CMP_EQU     EQU   1
CMP_GREATER EQU   2
CMP_LOWER   EQU   4
