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
—
—
—
—
1
9
1
11
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
—
—
—
—
8
9
1
—
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
—
—
—
—
8
9
1
10
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
Summary of Contents for DSP56K
Page 12: ...xii LIST of TABLES MOTOROLA List of Tables Continued Table Page Number Title Number ...
Page 13: ...MOTOROLA DSP56K FAMILY INTRODUCTION 1 1 SECTION 1 DSP56K FAMILY INTRODUCTION ...
Page 31: ...MOTOROLA DATA ARITHMETIC LOGIC UNIT 3 1 SECTION 3 DATA ARITHMETIC LOGIC UNIT ...
Page 50: ...DATA ALU SUMMARY 3 20 DATA ARITHMETIC LOGIC UNIT MOTOROLA ...
Page 51: ...MOTOROLA ADDRESS GENERATION UNIT 4 1 SECTION 4 ADDRESS GENERATION UNIT ...
Page 77: ...MOTOROLA PROGRAM CONTROL UNIT 5 1 SECTION 5 PROGRAM CONTROL UNIT ...
Page 124: ...INSTRUCTION GROUPS 6 30 INSTRUCTION SET INTRODUCTION MOTOROLA ...
Page 125: ...MOTOROLA PROCESSING STATES 7 1 SECTION 7 PROCESSING STATES STOP WAIT EXCEPTION NORMAL RESET ...
Page 167: ...STOP PROCESSING STATE MOTOROLA PROCESSING STATES 7 43 ...
Page 168: ...STOP PROCESSING STATE 7 44 PROCESSING STATES MOTOROLA ...
Page 169: ...MOTOROLA PORT A 8 1 SECTION 8 PORT A ...
Page 176: ...PORT A INTERFACE 8 8 PORT A MOTOROLA ...
Page 177: ...MOTOROLA PLL CLOCK OSCILLATOR 9 1 SECTION 9 PLL CLOCK OSCILLATOR x x d Φ VCO ...
Page 191: ...10 2 ON CHIP EMULATION OnCE MOTOROLA SECTION 10 ON CHIP EMULATION OnCE ...
Page 218: ...USING THE OnCE MOTOROLA ON CHIP EMULATION OnCE 10 29 ...
Page 604: ...INSTRUCTION ENCODING A 338 INSTRUCTION SET DETAILS MOTOROLA ...
Page 605: ...MOTOROLA BENCHMARK PROGRAMS B 1 APPENDIX B BENCHMARK PROGRAMS T T T T T P1 P3 P2 P4 T T T ...
Page 609: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 5 ...
Page 611: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 7 ...
Page 613: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 9 ...
Page 615: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 11 ...