Motorola MC68030 User Manual page 94

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

Advertisement

Instruction Set Summary
Table 3-12. Condition Code Computations (Continued)
Operations
BTST, BCHG, BSET, BCLR
BFTST, BFCHG, BFSET,
BFCLR
BFEXTS, BFEXTU, BFFFO
BFINS
ASL
ASL (R = 0)
LSL, ROXL
LSR (r = 0)
ROXL (r = 0)
ROL
ROL (r = 0)
ASR, LSR, ROXR
ASR, LSR (r = 0)
ROXR (r = 0)
ROR
ROR (r = 0)
=
Not Affected
U
=
Undefined, Result Meaningless
?
=
Other — See Special Definition
*
=
General Case
X = C
N = Rm
Z = Rm Λ . . . Λ R0
Sm
=
Destination Operand — Most Significant Bit
Dm
=
Destination Operand — Most Significant Bit
3-16
X
N
Z
V
C
Special Definition
— —
?
— — Z = Dn
?
?
0
0 N = Dm
Z = Dm Λ DM –1 Λ . . . Λ D0
?
?
0
0 N = Sm
Z = Sm Λ Sm –1 Λ . . . Λ S0
?
?
0
0 N = Dm
Z = Dm Λ DM–1 Λ . . . Λ D0
V = Dm Λ (Dm –1 V . . . V Dm –r) V Dm Λ
*
*
*
(Dm –1 V . . . + Dm –r)
C = Dm –r + 1
*
*
0
0
*
*
*
0
? C = Dm –r + 1
*
*
0
0
*
*
0
? C = X
*
*
0
? C = Dm –r + 1
*
*
0
0
*
*
*
0
? C = Dr –1
*
*
0
0
*
*
0
? C = X
*
*
0
? C = Dr –1
*
*
0
0
Rm = Result Operand — Most Significant Bit
LB = Lower Bound
UB = Upper Bound
Rm = NOT Rm
MC68030 USER'S MANUAL
R = Register Tested
n = Bit Number
r =
Shift Count
Λ = Boolean AND
V = Boolean OR
MOTOROLA

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents