EasyManua.ls Logo

Freescale Semiconductor MC68881 - Monadic Operations; Dyadic Operations; Monadic Operation Format

Default Icon
409 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Table 4-3. Dyadic Operations
Instruction Function
FADD
Add
FCMP
Compare
FDIV
Divide
FMOD Modulo Remainder
FMUL
Multiply
FREM IEEE
Remainder
FSCALE
Scale Exponent
FSGLDIV Single Precision Divide
FSGLMUL
Single Precision Multiply
FSUB
Subtract
4.2.3 Monadic Operations
The monadic floating-point instructions provide several arithmetic functions that require
only one input operand. Unlike the integer counterparts to these function (e.g., NEG <ea>),
a source and a destination may be specified. The operation is performed on the source
operand, and the result is stored in the destination, which is always a floating-point data
register. When the source is not a floating-point data register, all data formats are sup-
ported; the data format is always extended precision for register-to-register operations.
The general format of these instructions is shown in Table 4-4, and the available operations
are listed in Table 4-5. The form of the simultaneous sine and cosine instruction is given
in Table 4-6.
Table 4-4. Monadic Operation Format
Instruction Operand Syntax Operand Format Operation
F(mop~ <ea),FPn B,W,L,S,D,X,P source I) function 0 FPn
FPm,FPn X
FPn X FPn 0 function ~ FPn
where:
<mop> is any one of the monadic operation specifiers.
Table 4-5. Monadic Operations
Instruction Function
F ABS Absolute Value
FACOS Arc Cosine
FASIN Arc Sine
FATAN Arc Tangent
FATANH
Hyperbolic Arc Tangent
FCOS
Cosine
FCOSH Hyperbolic Cosine
FETOX e x
FETOXM 1 e x - 1
FGETEXP Extract
Exponent
FGETMAN Extract Mantissa
FINT
FINTRZ
Extract Integer Part
Extract Integer Part, Rounded-to-Zero
Instruction Function
FLOGN In(x)
FLOGNP1 In(x + 1)
FLOG 10 Log10(x)
FLOG2 Log2(x)
FNEG
FSIN
FSINH
Negate
Sine
Hyperbolic Sine
FSQRT Square Root
FTAN
Tangent
FTANH
Hyperbolic Tangent
FTENTOX 10 x
FTWOTOX
2 x
MC68881/MC68882 USER'S MANUAL FREESCALE
4-3

Table of Contents

Related product manuals