www.ti.com
CPU Registers
Table 2-2. Floating-point Unit Status (STF) Register Field Descriptions (continued)
Bits
Field
Value
Description
6
TF
Test Flag
The TESTTF instruction can modify this flag based on the condition tested. The SETFLG and SAVE
instructions can also be used to modify this flag.
0
The condition tested with the TESTTF instruction is false.
1
The condition tested with the TESTTF instruction is true.
5
ZI
Zero Integer Flag
The following instructions modify this flag based on the integer value stored in the destination register:
MOV32, MOVD32, MOVDD32
The SETFLG and SAVE instructions can also be used to modify this flag.
0
The integer value is not zero.
1
The integer value is zero.
4
NI
Negative Integer Flag
The following instructions modify this flag based on the integer value stored in the destination register:
MOV32, MOVD32, MOVDD32
The SETFLG and SAVE instructions can also be used to modify this flag.
0
The integer value is not negative.
1
The integer value is negative.
3
ZF
Zero Floating-Point Flag
(1) (2)
The following instructions modify this flag based on the floating-point value stored in the destination
register:
MOV32, MOVD32, MOVDD32, ABSF32, NEGF32
The CMPF32, MAXF32, and MINF32 instructions modify this flag based on the result of the operation.
The SETFLG and SAVE instructions can also be used to modify this flag
0
The floating-point value is not zero.
1
The floating-point value is zero.
2
NF
Negative Floating-Point Flag
(1) (2)
The following instructions modify this flag based on the floating-point value stored in the destination
register:
MOV32, MOVD32, MOVDD32, ABSF32, NEGF32
The CMPF32, MAXF32, and MINF32 instructions modify this flag based on the result of the operation.
The SETFLG and SAVE instructions can also be used to modify this flag.
0
The floating-point value is not negative.
1
The floating-point value is negative.
1
LUF
Latched Underflow Floating-Point Flag
The following instructions will set this flag to 1 if an underflow occurs:
MPYF32, ADDF32, SUBF32, MACF32, EINVF32, EISQRTF32
0
An underflow condition has not been latched. If the MOVST0 instruction is used to copy this bit to ST0,
then LUF will be cleared.
1
An underflow condition has been latched.
0
LVF
Latched Overflow Floating-Point Flag
The following instructions will set this flag to 1 if an overflow occurs:
MPYF32, ADDF32, SUBF32, MACF32, EINVF32, EISQRTF32
0
An overflow condition has not been latched. If the MOVST0 instruction is used to copy this bit to ST0,
then LVF will be cleared.
1
An overflow condition has been latched.
(1)
A negative zero floating-point value is treated as a positive zero value when configuring the ZF and NF flags.
(2)
A DeNorm floating-point value is treated as a positive zero value when configuring the ZF and NF flags.
SPRUEO2A – June 2007 – Revised August 2008
CPU Register Set
17
Содержание 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 ...