TMS320C25
SPRS010B Ð MAY 1987 Ð REVISED NOVEMBER 1990
Table 3. TMS320C25 Instruction Set Summary
ACCUMULATOR MEMORY REFERENCE INSTRUCTIONS
MNEMONIC | DESCRIPTION | NO. |
|
|
|
| INSTRUCTION BIT CODE |
|
|
|
|
|
|
|
|
|
| |||||||||||
WORDS |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
| 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 |
|
|
|
| S |
|
|
| I |
|
|
|
|
|
|
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||
ADDC³ | Add to accumulator with carry | 1 | 0 | 1 | 0 | 0 | 0 | 0 |
| 1 | 1 | I |
|
|
|
|
|
|
| D |
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||
ADDH | Add to high accumulator | 1 | 0 | 1 | 0 | 0 | 1 | 0 |
| 0 | 0 | I |
|
|
|
|
|
|
| D |
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||
ADDK³ | Add to accumulator short immediate | 1 | 1 | 1 | 0 | 0 | 1 | 1 |
| 0 | 0 |
|
|
|
|
|
| K |
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||
ADDS | Add to low accumulator with sign | 1 | 0 | 1 | 0 | 0 | 1 | 0 |
| 0 | 1 | I |
|
|
|
|
|
|
| D |
|
|
|
|
| |||
extension suppressed |
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ADDT | Add to accumulator with shift specified by | 1 | 0 | 1 | 0 | 0 | 1 | 0 |
| 1 | 0 | I |
|
|
|
|
|
|
| D |
|
|
|
|
| |||
T register |
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ADLK² | Add to accumulator long immediate with shift | 2 | 1 | 1 | 0 | 1 |
|
|
|
| S |
|
|
| 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
| |||||
|
|
|
|
|
|
|
| |||||||||||||||||||||
AND | AND with accumulator | 1 | 0 | 1 | 0 | 0 | 1 | 1 |
| 1 | 0 | I |
|
|
|
|
|
|
| D |
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||
ANDK² | AND immediate with accumulator with shift | 2 | 1 | 1 | 0 | 1 |
|
|
|
| S |
|
|
| 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 |
|
|
|
| S |
|
|
| I |
|
|
|
|
|
|
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
LACK | Load accumulator immediate short | 1 | 1 | 1 | 0 | 0 | 1 | 0 |
| 1 | 0 |
|
|
|
|
|
| K |
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||
LACT² | Load accumulator with shift specified by | 1 | 0 | 1 | 0 | 0 | 0 | 0 |
| 1 | 0 | I |
|
|
|
|
|
|
| D |
|
|
|
|
| |||
T register |
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LALK² | Load accumulator long immediate with shift | 2 | 1 | 1 | 0 | 1 |
|
|
|
| S |
|
|
| 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 |
|
|
|
|
|
|
| D |
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||
ORK² | OR immediate with accumulator with shift | 2 | 1 | 1 | 0 | 1 |
|
|
|
| S |
|
|
| 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 |
|
|
| X |
|
| I |
|
|
|
|
|
|
| D |
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||
SACL | Store | 1 | 0 | 1 | 1 | 0 | 0 |
|
|
| X |
|
| I |
|
|
|
|
|
|
| D |
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||
SBLK² | Subtract from accumulator long immediate | 2 | 1 | 1 | 0 | 1 |
|
|
|
| S |
|
|
| 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
| |||||
with shift |
|
|
|
|
|
|
|
| ||||||||||||||||||||
|
|
|
|
|
|
|
| |||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 |
|
|
|
| S |
|
|
| I |
|
|
|
|
|
|
| D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
SUBB³ | Subtract from accumulator with borrow | 1 | 0 | 1 | 0 | 0 | 1 | 1 |
| 1 | 1 | I |
|
|
|
|
|
|
| D |
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||
SUBC | Conditional subtract | 1 | 0 | 1 | 0 | 0 | 0 | 1 |
| 1 | 1 | I |
|
|
|
|
|
|
| D |
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||
SUBH | Subtract from high accumulator | 1 | 0 | 1 | 0 | 0 | 0 | 1 |
| 0 | 0 | I |
|
|
|
|
|
|
| D |
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||
SUBK³ | Subtract from accumulator short immediate | 1 | 1 | 1 | 0 | 0 | 1 | 1 |
| 0 | 1 |
|
|
|
|
|
| K |
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||
SUBS | Subtract from low accumulator with sign | 1 | 0 | 1 | 0 | 0 | 0 | 1 |
| 0 | 1 | I |
|
|
|
|
|
|
| D |
|
|
|
|
| |||
extension suppressed |
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
² These instructions are not included in the TMS320C1x instruction set. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
³ These instructions are not included in the TMS32020 instruction set. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001