MSUBF32 MRd, MRe, MRf ||MMOV32 MRa, mem32
32-Bit Floating-Point Subtraction with Parallel Move
Operands
MRd
CLA floating-point destination register (MR0 to MR3) for the
MSUBF32 operation
MRd cannot be the same register as MRa
MRe
CLA floating-point source register (MR0 to MR3) for the MSUBF32
operation
MRf
CLA floating-point source register (MR0 to MR3) for the MSUBF32
operation
MRa
CLA floating-point destination register (MR0 to MR3) for the
MMOV32 operation
MRa cannot be the same register as MRd
mem32
32-bit memory location accessed using one of the available
addressing modes. Source for the MMOV32 operation.
Opcode
LSW: mmmm mmmm mmmm mmmm
MSW: 0010 ffee ddaa addr
Description
Subtract the contents of two floating-point registers and move from memory to a floating-
point register.
MRd = MRe - MRf;
MRa = [mem32];
Restrictions
The destination register for the MSUBF32 and the MMOV32 must be unique. That is,
MRa cannot be the same register as MRd.
Flags
This instruction modifies the following flags in the MSTF register:
Flag
TF
ZF
NF
LUF
LVF
Modified
No
Yes
Yes
Yes
Yes
The MSTF register flags are modified as follows:
• LUF = 1 if MSUBF32 generates an underflow condition.
• LVF = 1 if MSUBF32 generates an overflow condition.
The MMOV32 Instruction will set the NF and ZF flags.
Pipeline
Both MSUBF32 and MMOV32 complete in a single cycle.
Example
NF = MRa(31);
ZF = 0;
if(MRa(30:23) == 0) { ZF = 1; NF = 0; }
See also
MSUBF32 MRa, MRb, MRc
MSUBF32 MRa, #16FHi, MRb
MMPYF32 MRa, MRb, MRc || MSUBF32 MRd, MRe, MRf
Control Law Accelerator (CLA)
698
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Summary of Contents for TMS320 2806 Series
Page 2: ......