user manual

CONDITION CODE COMPUTATION
MOTOROLA INSTRUCTION SET DETAILS A - 19
The following notes apply to Table A-5:
Table A-5 Condition Code Computations for Instructions (No Parallel Move)
Mnemonic S L E U N Z V C Notes Mnemonic S L E U N Z V C Notes
ABS
✓✓✓✓✓✓ LSR 19111
ADC
✓✓✓✓✓✓ LUA —————
ADD
✓✓✓✓✓✓ MAC ✓✓
ADDL
✓✓✓✓2 MACR ✓✓
ADDR
✓✓✓✓✓✓ MOVE ✓✓—————
AND 8 9 1 MOVEC ? ? ? ? ? ? ? ? 13
ANDI ? ? ? ? ? ? ? ? 3 MOVEM ? ? ? ? ? ? ? ? 13
ASL
✓✓✓✓2 4 MOVEP ? ? ? ? ? ? ? ? 13
ASR
✓✓✓✓1 5 MPY ✓✓ 1—
BCHG ? ? ? ? ? ? ? ? 14 MPYR
✓✓ 1—
BCLR ? ? ? ? ? ? ? ? 14 NEG
✓✓
BSET ? ? ? ? ? ? ? ? 14 NOP
BTST ? ? ? 14 NORM
✓✓ 2—
CLR
✓✓✓✓1 NOT 8 9 1
CMP
✓✓✓✓✓✓ OR 891—
CMPM
✓✓✓✓✓✓ ORI ???????? 6
DEBUG REP
✓✓—————
DEBUGcc RESET
DEC
✓✓✓✓✓✓ RND ✓✓
DIV
————2 7 ROL —— 8 9 1 10
DO
✓✓—————— ROR —— 8 9 1 11
ENDDO RTI ? ? ? ? ? ? ? ? 12
EOR ——8 9 1 RTS —————
ILLEGAL SBC
✓✓
INC ✓✓✓✓✓✓ STOP —————
Jcc SUB
✓✓
JCLR ? ? 14 SUBL ✓✓ 2
JMP SUBR ✓✓
JScc SWI
JSCLR ? ? 14 Tcc
JSET ? ? 14 TFR
JSR —————— TST
✓✓ 1—
JSSET ? ? 14 WAIT
LSL 89110
where: Set according to the standard definition of the operation
— Not affected by the operation
? or # Set according to a special definition (refer to the following notes) and can be a 0 or 1