•  Back 
  •  Assembler 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Pure Assembler Documentation
Author      : John Kormylo
Version     : PASM.HYP 1.0
Subject     : Documentation/Pure Assembler
Nodes       : 740
Index Size  : 20262
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ FPU Condition Codes ]

FPU Condition Codes                      FPSR Flags

F    False                               0
T    True                                1
EQ   EQual                               Z
NE   Not Equal                           !Z
OR   ORdered                             !NAN
UN   UnOrdered                           NAN
OGT  Ordered Greater Than                !(NAN || N || Z)
OGE  Ordered Greater than or Equal       !(NAN || N) || Z
OLT  Ordered Less Than                   !(NAN || Z) && N
OLE  Ordered Less than or Equal          (!NAN && N) || Z
OGL  Ordered Greater or Less than        !(NAN || Z)
UEQ  Unordered or EQual                  NAN || Z
UGT  Unordered or Greater Than           NAN || !(N || Z)
UGE  Unordered, Greater than or Equal    NAN || !N || Z 
ULT  Unordered or Less Than              NAN || (N && !Z)
ULE  Unordered, Less than or Equal       NAN || N || Z

SF   Signaling False                     0
ST   Signaling True                      1
SEQ  Signaling Equal                     Z
SNE  Signaling Not Equal                 !Z
GLE  Greater, Less than or Equal         !NAN
NGLE Not Greater, Less than or Equal     NAN
GL   Greater or Less than                !(NAN || Z)
NGL  Not Greater or Less than            NAN || Z
GT   Greater Than                        !(NAN || N || Z)
GE   Greater than or Equal               !(NAN || N) || Z
LT   Less Than                           !(NAN || Z) && N
LE   Less than or Equal                  (!NAN && N) || Z
NGT  Not Greater Than                    NAN || N || Z
NGE  Not Greater than or Equal           NAN || (N && !Z)
NLT  Not Less Than                       NAN || !N || Z
NLE  Not Less than or Equal              NAN || !(N || Z)

The BSUN flag is set if any of the latter 16 condition codes are used
in a FBcc, FDBcc, FScc or FTRAPcc commands and the NAN flag was set.
For example, FBSEQ means branch if zero and set the BSUN flag if NAN.

Setting the BSUN flag causes an exception (if the BSUN flag of the
FPCR is set).

See also FBcc, FDBcc, FScc, FTRAPcc and FPU.