Table 10-33. CLA Status (MSTF) Register Field Descriptions
Bits
Field
Value
31-24
Reserved
0
Reserved
23-12
RPC
Return program counter.
The RPC is used to save and restore the MPC address by the MCCNDD and MRCNDD operations.
11
MEALLOW
This bit enables and disables CLA write access to EALLOW protected registers. This is independent of
the state of the EALLOW bit in the main CPU status register. This status bit can be saved and restored
by the MMOV32 STF, mem32 instruction.
0
The CLA cannot write to EALLOW protected registers. This bit is cleared by the CLA instruction,
MEDIS.
1
The CLA is allowed to write to EALLOW protected registers. This bit is set by the CLA instruction,
MEALLOW.
10
Reserved
0
Any writes to these bit(s) must always have a value of 0.
9
RND32
Round 32-bit Floating-Point Mode
Use the MSETFLG and MMOV32 MSTF, mem32 instructions to change the rounding mode.
0
If this bit is zero, the MMPYF32, MADDF32, and MSUBF32 instructions will round to zero (truncate).
1
If this bit is one, the MMPYF32, MADDF32, and MSUBF32 instructions will round to the nearest even
value.
8-7
Reserved
0
Reserved
6
TF
Test Flag
The MTESTTF instruction can modify this flag based on the condition tested. The MSETFLG and
MMOV32 MSTF, mem32 instructions can also be used to modify this flag.
0
The condition tested with the MTESTTF instruction is false.
1
The condition tested with the MTESTTF instruction is true.
5-4
Reserved
These two bits may change based on integer results. These flags are not, however, used by the CLA
and therefore marked as reserved.
3
ZF
Zero Flag
•
Instructions that modify this flag based on the floating-point value stored in the destination register:
MMOV32, MMOVD32, MABSF32, MNEGF32
•
Instructions that modify this flag based on the floating-point result of the operation:
MCMPF32, MMAXF32, and MMINF32
•
Instructions that modify this flag based on the integer result of the operation:
MMOV16, MAND32, MOR32, MXOR32, MCMP32, MASR32, MLSR32, and MLSL32
The MSETFLG and MMOV32 MSTF, mem32 instructions can also be used to modify this flag
0
The value is not zero.
1
The value is zero.
2
NF
Negative Flag
•
Instructions that modify this flag based on the floating-point value stored in the destination register:
MMOV32, MMOVD32, MABSF32, MNEGF32
•
Instructions that modify this flag based on the floating-point result of the operation:
MCMPF32, MMAXF32, and MMINF32
•
Instructions that modify this flag based on the integer result of the operation:
MMOV16, MAND32, MOR32, MXOR32, MCMP32, MASR32, MLSR32, and MLSL32
The MSETFLG and MMOV32 MSTF, mem32 instructions can also be used to modify this flag.
0
The value is not negative.
1
The value is negative.
Control Law Accelerator (CLA)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
725
Copyright © 2022 Texas Instruments Incorporated
Summary of Contents for TMS320 2806 Series
Page 2: ......