Tms320 second generation digital signal processors – Texas Instruments TMS320 User Manual
Page 12
S
NO.
WORDS
D
DESCRIPTION
D
D
K
D
D
S
D
S
S
D
D
S
D
S
S
X
D
D
X
S
D
D
D
D
K
D
MNEMONIC
K
INSTRUCTION BIT CODE
TMS320 SECOND GENERATION
DIGITAL SIGNAL PROCESSORS
SPRS010B — MAY 1987 — REVISED NOVEMBER 1990
POST OFFICE BOX 1443
HOUSTON, TEXAS 77001
12
Table 3. TMS320C25 Instruction Set Summary
ACCUMULATOR MEMORY REFERENCE INSTRUCTIONS
15 14 13 12 11 10 9
8 7
6 5
4 3
2 1
0
ABS
Absolute value of accumulator
1
1
1
0
0
1
1
1
0 0
0 0
1 1
0 1
1
ADD
Add to accumulator with shift
1
0
0
0
0
I
ADDC
‡
Add to accumulator with carry
1
0
1
0
0
0
0
1
1
I
ADDH
Add to high accumulator
1
0
1
0
0
1
0
0
0
I
ADDK
‡
Add to accumulator short immediate
1
1
1
0
0
1
1
0
0
ADDS
Add to low accumulator with sign
extension suppressed
1
0
1
0
0
1
0
0
1
I
ADDT
Add to accumulator with shift specified by
T register
1
0
1
0
0
1
0
1
0
I
ADLK
†
Add to accumulator long immediate with shift
2
1
1
0
1
0
0 0
0 0
0 1
0
AND
AND with accumulator
1
0
1
0
0
1
1
1
0
I
ANDK
†
AND immediate with accumulator with shift
2
1
1
0
1
0
0 0
0 0
1 0
0
CMPL
†
Complement accumulator
1
1
1
0
0
1
1
1
0 0
0 1
0 0
1 1
1
LAC
Load accumulator with shift
1
0
0
1
0
I
LACK
Load accumulator immediate short
1
1
1
0
0
1
0
1
0
LACT
†
Load accumulator with shift specified by
T register
1
0
1
0
0
0
0
1
0
I
LALK
†
Load accumulator long immediate with shift
2
1
1
0
1
0
0 0
0 0
0 0
1
NEG
†
Negate accumulator
1
1
1
0
0
1
1
1
0 0
0 1
0 0
0 1
1
NORM
†
Normalize contents of accumulator
1
1
1
0
0
1
1
1
0 1 X X X 0
0 1
0
OR
OR with accumulator
1
0
1
0
0
1
1
0
1
I
ORK
†
OR immediate with accumulator with shift
2
1
1
0
1
0
0 0
0 0
1 0
1
ROL
‡
Rotate accumulator left
1
1
1
0
0
1
1
1
0 0
0 1
1 0
1 0
0
ROR
‡
Rotate accumulator right
1
1
1
0
0
1
1
1
0 0
0 1
1 0
1 0
1
SACH
Store high accumulator with shift
1
0
1
1
0
1
I
SACL
Store low-order accumulator with shift
1
0
1
1
0
0
I
SBLK†
Subtract from accumulator long immediate
with shift
2
1
1
0
1
0
0 0
0 0
0 1
1
SFL
†
Shift accumulator left
1
1
1
0
0
1
1
1
0 0
0 0
1 1
0 0
0
SFR
†
Shift accumulator right
1
1
1
0
0
1
1
1
0 0
0 0
1 1
0 0
1
SUB
Subtract from accumulator with shift
1
0
0
0
1
I
SUBB
‡
Subtract from accumulator with borrow
1
0
1
0
0
1
1
1
1
I
SUBC
Conditional subtract
1
0
1
0
0
0
1
1
1
I
SUBH
Subtract from high accumulator
1
0
1
0
0
0
1
0
0
I
SUBK
‡
Subtract from accumulator short immediate
1
1
1
0
0
1
1
0
1
SUBS
Subtract from low accumulator with sign
extension suppressed
1
0
1
0
0
0
1
0
1
I
†
These instructions are not included in the TMS320C1x instruction set.
‡
These instructions are not included in the TMS32020 instruction set.