Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->FABS
Floating-Point Absolute Value
Compatibility: ColdFire chips with a floating-point unit (FPU)
Absolute value of source ->FPx
Assembler Syntax: | FABS.fmt <ea>,FPx |
FABS.D FPy,FPx | |
FABS.D FPx | |
FrABS.fmt <ea>,FPx | |
FrABS.D FPy,FPx | |
FrABS.D FPx |
N | Set if result is negative;else cleared |
Z | Set if result is zero;else cleared |
I | Set if result is infinity;else cleared |
NAN | Set if result is a NAN;else cleared |
BSUN | Always cleared |
INAN | Set if source is not-a-number, else cleared |
IDE | Set if source is a denormalised number, else cleared |
OPERR | Always cleared |
OVFL | Always cleared |
UNFL | Always cleared |
DZ | Always cleared |
INEX | Always cleared |
Allowable Addressing Modes |
Dn,FPn | |
(An),FPn | |
(An)+,FPn | |
-(An),FPn | |
(d16,An),FPn | |
(d16,PC),FPn | |