Conditional Tests - Motorola MC68030 User Manual

Enhanced 32-811 microprocessor
Hide thumbs Also See for MC68030:
Table of Contents

Advertisement

3.3.2 Conditional Tests
Table 3-13 lists the condition names, encodings, and tests for the conditional
branch and set instructions. The test associated with each condition is a
logical formula using the current states of the condition codes. If this formula
evaluates to one, the condition is true. If the formula evaluates to zero, the
condition is false. For example, the T condition is always true, and the EQ
condition is true only if the Z bit condition code is currently true.
MOTOROLA
Table 3-13. Conditional Tests
Mnemonic
T*
F*
HI
LS
CC(HS)
CS(LO)
NE
EQ
VC
VS
PL
MI
GE
LT
GT
LE
• =
Boolean AND
+
=
Boolean OR
N
=
Boolean NOT N
Condition
True
False
High
Low or Same
Carry Clear
Carry Set
Not Equal
Equal
Overflow Clear
Overflow Set
Plus
Minus
Greater or Equal
Less Than
Greater Than
Less or Equal
*Not available for the Bee instruction.
Encoding
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
MC68030 USER'S MANUAL
Test
1
0
- -
C'Z
C+Z
C
C
Z
Z
V
V
N
N
N·V+N·V
N·V+N·V
N·V·Z + N'V·Z
Z+N'V+N'V
3-17

Advertisement

Table of Contents
loading

Table of Contents