TMS320C25
SPRS010B Ð MAY 1987 Ð REVISED NOVEMBER 1990
Table 3. TMS320C25 Instruction Set Summary (continued)
BRANCH/CALL INSTRUCTIONS
MNEMONIC | DESCRIPTION | NO. |
|
|
|
|
| INSTRUCTION BIT CODE |
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
WORDS |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ||||
|
|
|
| |||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
B | Branch unconditionally | 2 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
BACC² | Branch to address specified by accumulator | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | ||||
BANZ | Branch on auxiliary register not zero | 2 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
BBNZ² | Branch if TC bit ≠ 0 | 2 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
BBZ² | Branch if TC bit = 0 | 2 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
BC³ | Branch on carry | 2 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
BGEZ | Branch if accumulator ≥ 0 | 2 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
BGZ | Branch if accumulator > 0 | 2 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
BIOZ | Branch on I/O status = 0 | 2 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
BLEZ | Branch if accumulator ≤ 0 | 2 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
BLZ | Branch if accumulator < 0 | 2 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
BNC³ | Branch on no carry | 2 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
BNV² | Branch if no overflow | 2 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
BNZ | Branch if accumulator ≠ 0 | 2 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
BV | Branch on overflow | 2 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
BZ | Branch if accumulator = 0 | 2 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
CALA | Call subroutine indirect | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | ||||
CALL | Call subroutine | 2 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||||
RET | Return from subroutine | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
| I/O AND DATA MEMORY OPERATIONS |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MNEMONIC | DESCRIPTION | NO. | ||
WORDS | ||||
|
|
| ||
|
|
| ||
BLKD² | Block move from data memory to data memory | 2 | ||
BLKP² | Block move from program memory to data | 2 | ||
memory |
| |||
|
|
| ||
DMOV | Data move in data memory | 1 | ||
FORT² | Format serial port registers | 1 | ||
IN | Input data from port | 1 | ||
OUT | Output data to port | 1 | ||
RFSM³ | Reset serial port frame synchronization mode | 1 | ||
RTXM² | Reset serial port transmit mode | 1 | ||
RXF² | Reset external flag | 1 | ||
SFSM³ | Set serial port frame synchronization mode | 1 | ||
STXM² | Set serial port transmit mode | 1 | ||
SXF² | Set external flag | 1 | ||
TBLR | Table read |
| 1 | |
TBLW | Table write |
| 1 | |
|
|
|
|
|
|
|
|
|
| INSTRUCTION BIT CODE |
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1 | 1 | 1 | 0 | 1 | 1 |
| 0 | 1 | I |
|
|
|
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||||||||||||
1 | 1 | 1 | 1 | 1 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
|
| D |
|
|
|
| |
|
|
|
|
|
|
|
|
|
²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 | 15 |