Instructions
www.ti.com
MOV32 RaH, XARn
Move the Contents of XARn to a 32-bit Floating-Point Register
Operands
RaH
floating-point register (R0H to R7H)
XARn
auxiliary register (XAR0 - XAR7)
Opcode
LSW: 1011 1101
loc32
MSW: IIII IIII
IIII IIII
Description
Move the 32-bit value in the auxiliary register XARn to the floating point register RaH.
RaH = XARn
Flags
This instruction does not modify any STF register flags.
Flag
TF
ZI
NI
ZF
NF
LUF
LVF
Modified
No
No
No
No
No
No
No
Pipeline
While this is a single-cycle instruction, additional pipeline alignment is required. Four
alignment cycles are required after any copy from a standard 28x CPU register to a
floating-point register. The four alignment cycles can be filled with any non-conflicting
instructions except for the following: FRACF32, UI16TOF32, I16TOF32, F32TOUI32,
and F32TOI32.
MOV32
R0H,@XAR7
; Copy XAR7 to R0H
NOP
; Wait 4 alignment cycles
NOP
; Do not use FRACF32, UI16TOF32
NOP
; I16TOF32, F32TOUI32 or F32TOI32
NOP
;
; <-- R0H is valid
ADDF32
R2H,R1H,R0H
; Instruction can use R0H as a source
Example
MOVL
XAR1, #0x0200 ; XAR1 = 512
MOV32
R0H, XAR1
NOP
NOP
NOP
NOP
UI32TOF32 R0H, R0H
; R0H = 512.0 (0x44000000)
See also
Instruction Set
90
SPRUEO2A – June 2007 – Revised August 2008
Содержание TMS320C28 series
Страница 2: ...2 SPRUEO2A June 2007 Revised August 2008 Submit Documentation Feedback ...
Страница 12: ...Introduction 12 SPRUEO2A June 2007 Revised August 2008 Submit Documentation Feedback ...
Страница 20: ...CPU Register Set 20 SPRUEO2A June 2007 Revised August 2008 Submit Documentation Feedback ...
Страница 136: ...Instruction Set 136 SPRUEO2A June 2007 Revised August 2008 Submit Documentation Feedback ...