Texas Instruments TMS320C3x User Manual

Page 489

Advertising
background image

Condition Codes and Flags

13-31

Assembly Language Instructions

Table 13–12. Condition Codes and Flags (Continued)

(d) Compare to zero

Condition

Code

Description

Flag

Z
NZ
P
N
NN

00101
00110
01001
00111
01010

Zero
Not zero
Positive
Negative
Non-negative

Z

Z

N AND

Z

N

N

(e) Compare to condition flags

Condition

Code

Description

Flag

NN
N
NZ
Z
NV
V
NUF
UF
NC
C
NLV
LV
NLUF
LUF
ZUF

01010
00111
00110
00101
01100
01101
01110
01111
00100
00001
10000
10001
10010
10011
10100

Non-negative
Negative
Nonzero
Zero
No overflow
Overflow
No underflow
Underflow
No carry
Carry
No latched overflow
Latched overflow
No latched floating-point underflow
Latched floating-point underflow
Zero or floating-point underflow

N

N

Z

Z

V

V

UF

UF

C

C

LV

LV

LUF

LUF

Z OR UF

= logical complement (not true condition)

Advertising