Instructions
www.ti.com
MOV32 ACC, RaH
Move 32-bit Floating-Point Register Contents to ACC
Operands
ACC
28x accumulator
RaH
floating-point source register (R0H to R7H)
Opcode
LSW: 1011 1111
loc32
MSW: IIII IIII
IIII IIII
Description
If the condition is true, then move the 32-bit value referenced by mem32 to the
floating-point register indicated by RaH.
ACC = RaH
Flags
No STF flags are affected.
Flag
TF
ZI
NI
ZF
NF
LUF
LVF
Modified
No
No
No
No
No
No
No
Z and N flag in status register zero (ST0) of the 28x CPU are affected.
Pipeline
While this is a single-cycle instruction, additional pipeline alignment is required when
copying a floating-point register to a C28x register. If the move follows a single cycle
floating point instruction, a single alignment cycle must be added. For example:
MINF32 R0H,R1H
; Single-cycle instruction
NOP
; 1 alignment cycle
MOV32
@ACC,R0H
; Copy R0H to ACC
NOP
; Any instruction
If the move follows a 2 pipeline-cycle floating point instruction, then two alignment cycles
must be used. For example:
ADDF32 R2H, R1H, R0H
; 2 pipeline instruction (2p)
NOP
; 1 cycle delay for ADDF32 to complete
; <-- ADDF32 completes, R2H is valid
NOP
; 1 alignment cycle
MOV32
ACC, R2H
; copy R2H into ACC, takes 2 cycles
; <-- MOV32 completes, ACC is valid
NOP
; Any instruction
Example
MOVIZF32
R0H, #2.5
; R0H = 2.5 = 0x40200000
F32TOUI32 R0H, R0H
NOP
; Delay for conversion instruction
; <-- Conversion complete, R0H valid
NOP
; Alignment cycle
MOV32
P, R0H
; P = 2 = 0x00000002
See also
Instruction Set
80
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 ...