|
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 = Undeï¬ned, Result Meaningless
? = Other â See Special Deï¬nition
* = General Case
X=C
N = Rm
Z = Rm Î . . . Î R0
Sm = Destination Operand â Most Signiï¬cant Bit
Dm = Destination Operand â Most Signiï¬cant Bit
Rm = Result Operand â Most Signiï¬cant 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
|
▷ |