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