www.ti.com
Instructions
MOV32 RaH, XT
Move the Contents of XT to a 32-bit Floating-Point Register
Operands
RaH
floating-point register (R0H to R7H)
XT
auxiliary register (XAR0 - XAR7)
Opcode
LSW: 1011 1101
loc32
MSW: IIII IIII
IIII IIII
Description
Move the 32-bit value in temporary register, XT, to the floating-point register RaH.
RaH = XT
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, XT
; Copy XT 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
MOVIZF32
R6H, #5.0
; R6H = 5.0 (0x40A00000)
NOP
; 1 Alignment cycle
MOV32
XT, R6H
; XT = 5.0 (0x40A00000)
MOV32
R1H, XT
; R1H = 5.0 (0x40A00000)
See also
SPRUEO2A – June 2007 – Revised August 2008
Instruction Set
91
Summary of Contents for TMS320C28 series
Page 2: ...2 SPRUEO2A June 2007 Revised August 2008 Submit Documentation Feedback ...
Page 12: ...Introduction 12 SPRUEO2A June 2007 Revised August 2008 Submit Documentation Feedback ...
Page 20: ...CPU Register Set 20 SPRUEO2A June 2007 Revised August 2008 Submit Documentation Feedback ...
Page 136: ...Instruction Set 136 SPRUEO2A June 2007 Revised August 2008 Submit Documentation Feedback ...