Download ColdFire Family Programmer`s Reference Manual

Transcript
Instruction Set Summary
Table 3-14. ColdFire User Instruction Set Summary (Continued)
Instruction
Operand Syntax
Operand
Size
Operation
First
appeared:
ISA,
(E)MAC or
FPU
FDMUL
<ea>y,FPx
FPy,FPx
B,W,L,S,D
D
Source * FPx → FPx; round destination to double
FPU
FDNEG
<ea>y,FPx
FPy,FPx
FPx
B,W,L,S,D
D
D
- (Source) → FPx; round destination to double
FPU
FDSQRT
<ea>y,FPx
FPy,FPx
FPx
B,W,L,S,D
D
D
Square Root of Source → FPx; round destination to FPU
double
Square Root of FPx → FPx; round destination to
double
FDSUB
<ea>y,FPx
FPy,FPx
B,W,L,S,D
D
FPx - Source → FPx; round destination to double
FPU
FF1
Dx
Bit offset of First Logical One in Register →
Destination
ISA_A+,ISA
_C
FINT
<ea>y,FPx
FPy,FPx
FPx
B,W,L,S,D
D
D
Integer Part of Source → FPx
FPU
<ea>y,FPx
FPy,FPx
FPx
B,W,L,S,D
D
D
Integer Part of Source → FPx; round to zero
<ea>y,FPx
FPy,<ea>x
FPy,FPx
FPcr,<ea>x
<ea>y,FPcr
B,W,L,S,D
B,W,L,S,D
D
L
L
Source → Destination
FMOVEM
#list,<ea>x
<ea>y,#list
D
FMUL
<ea>y,FPx
FPy,FPx
FNEG
<ea>y,FPx
FPy,FPx
FPx
FINTRZ
FMOVE
L
- (FPx) → FPx; round destination to double
Integer Part of FPx → FPx
FPU
Integer Part of FPx → FPx; round to zero
FPU
FPcr can be any floating-point control register:
FPCR, FPIAR, FPSR
Listed registers → Destination
Source → Listed registers
FPU
B,W,L,S,D
D
Source * FPx → FPx
FPU
B,W,L,S,D
D
D
- (Source) → FPx
FPU
none
- (FPx) → FPx
PC + 2 → PC (FPU Pipeline Synchronized)
FNOP
none
FPU
FSABS
<ea>y,FPx
FPy,FPx
FPx
B,W,L,S,D
D
D
Absolute Value of Source → FPx; round destination FPU
to single
Absolute Value of FPx → FPx; round destination to
single
FSADD
<ea>y,FPx
FPy,FPx
B,W,L,S,D
Source + FPx → FPx; round destination to single
FPU
FSDIV
<ea>y,FPx
FPy,FPx
B,W,L,S,D
D
FPx / Source → FPx; round destination to single
FPU
ColdFire Family Programmer’s Reference Manual, Rev. 3
Freescale Semiconductor
3-15