Crossware

Table of Contents        Previous topic       Next topic       

MATHS CO-PROCESSOR REFERENCE->FMOVE

FMOVE           Move Floating Point Data Register

Source -> Destination

Assembler Syntax:FMOVE.<fmt> <ea>,FPn
FMOVE.<fmt> FPm,<ea>
FMOVE.P FPm,<ea>{Dn}
FMOVE.P FPm,<ea>{\#k}
FMOVE.X FPm,FPn

Attributes: Byte, Word, Long, Single, Double, Extended, Packed

    
Allowable Addressing Modes
    
FMOVE.<fmt>Dn,FPn  Only if <fmt> is .B,.W,.L or .S
FMOVE.<fmt>(An),FPn
FMOVE.<fmt>(An)+,FPn
FMOVE.<fmt>-(An),FPn
FMOVE.<fmt>(d16,An),FPn
FMOVE.<fmt>(d8,An,Xn),FPn
FMOVE.<fmt>(bd,An,Xn),FPn
FMOVE.<fmt>([bd,An,Xn],od),FPn
FMOVE.<fmt>([bd,An],Xn,od),FPn
FMOVE.<fmt>(xxx).W,FPn
FMOVE.<fmt>(xxx).L,FPn
FMOVE.<fmt>#(data),FPn
FMOVE.<fmt>(d16,PC),FPn
FMOVE.<fmt>(d8,PC,Xn),FPn
FMOVE.<fmt>(bd,PC,Xn),FPn
FMOVE.<fmt>([bd,PC,Xn],od),FPn
FMOVE.<fmt>([bd,PC],Xn,od),FPn
FMOVE.<fmt>FPm,Dn  Only if <fmt> is .B,.W,.L or .S
FMOVE.<fmt>FPm,(An)
FMOVE.<fmt>FPm,(An)+
FMOVE.<fmt>FPm,-(An)
FMOVE.<fmt>FPm,(d16,An)
FMOVE.<fmt>FPm,(d8,An,Xn)
FMOVE.<fmt>FPm,(bd,An,Xn)
FMOVE.<fmt>FPm,([bd,An,Xn],od)
FMOVE.<fmt>FPm,([bd,An],Xn,od)
FMOVE.<fmt>FPm,(xxx).W
FMOVE.<fmt>FPm,(xxx).L
FMOVE.PFPm,Dn{Dn}  Only if <fmt> is .B,.W,.L or .S
FMOVE.PFPm,(An){Dn}
FMOVE.PFPm,(An)+{Dn}
FMOVE.PFPm,-(An){Dn}
FMOVE.PFPm,(d16,An){Dn}
FMOVE.PFPm,(d8,An,Xn){Dn}
FMOVE.PFPm,(bd,An,Xn){Dn}
FMOVE.PFPm,([bd,An,Xn],od){Dn}
FMOVE.PFPm,([bd,An],Xn,od){Dn}
FMOVE.PFPm,(xxx).W{Dn}
FMOVE.PFPm,(xxx).L{Dn}

where {Dn} is the dynamic k factor acting as follows:

-64 to 0   - indicates the number of significant digits to the right of the
            decimal point
+1 to +17  - indicates the number of significant digits in the mantissa
+18 to +63 - Sets the OPERR bit in the FPSR exception byte, treated as +17

    
Allowable Addressing Modes continued
    
FMOVE.PFPm,Dn{#k}  Only if <fmt> is .B,.W,.L or .S
FMOVE.PFPm,(An){#k}
FMOVE.PFPm,(An)+{#k}
FMOVE.PFPm,-(An){#k}
FMOVE.PFPm,(d16,An){#k}
FMOVE.PFPm,(d8,An,Xn){#k}
FMOVE.PFPm,(bd,An,Xn){#k}
FMOVE.PFPm,([bd,An,Xn],od){#k}
FMOVE.PFPm,([bd,An],Xn,od){#k}
FMOVE.PFPm,(xxx).W{#k}
FMOVE.PFPm,(xxx).L{#k}

where {#k} is the static k factor acting as follows:

-64 to 0   - indicates the number of significant digits to the right of the
            decimal point
+1 to +17  - indicates the number of significant digits in the mantissa
+18 to +63 - Sets the OPERR bit in the FPSR exception byte, treated as +17