English
Language : 

MC68030 Datasheet, PDF (94/602 Pages) Motorola, Inc – ENHANCED 32-BIT MICROPROCESSOR
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)
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
* *00
* * * 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
— = 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
Rm = Result Operand — Most Significant Bit
R = Register Tested
n = Bit Number
r = Shift Count
LB = Lower Bound
UB = Upper Bound
Λ = Boolean AND
V = Boolean OR
Rm = NOT Rm
3-16
MC68030 USER’S MANUAL
MOTOROLA