Texas Instruments TMS320C3x User Manual

Page 488

Advertising
background image

Condition Codes and Flags

13-30

Table 13–12 lists the condition mnemonic, code, description, and flag for each
of the 20 condition codes.

Table 13–12. Condition Codes and Flags

(a) Unconditional compares

Condition

Code

Description

Flag

U

00000

Unconditional

Irrevelant

(b) Unsigned compares

Condition

Code

Description

Flag

LO
LS
HI
HS
EQ
NE

00001
00010
00011
00100
00101
00110

Lower than
Lower than or same as
Higher than
Higher than or same as
Equal to
Not equal to

C
C OR Z

C AND

Z

C

Z

Z

(c) Signed compares

Condition

Code

Description

Flag

LT
LE
GT
GE
EQ
NE

00111
01000
01001
01010
00101
00110

Less than
Less than or equal to
Greater than
Greater than or equal to
Equal to
Not equal to

N
N OR Z

N AND

Z

N

Z

Z

= logical complement (not true condition)

Advertising