Conditional Tests - Motorola MC68030 User Manual

Enhanced 32-bit 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.
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
*Not available for the Bcc instruction.
MOTOROLA
Table 3-13. Conditional Tests
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
MC68030 USER'S MANUAL
Instruction Set Summary
Encoding
0000
0001
0010
0011
C + Z
0100
0101
0110
0111
1000
1001
1010
1011
N •V + N •V
1100
N •V + N •V
1101
N •V •Z + N • V •Z
1110
Z + N •V + N • V
1111
Test
1
0
C •Z
C
C
Z
Z
V
V
N
N
3-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents