Texas Instruments TMS320C2XX Calculator User Manual


 
Enhanced Instructions
B-5
TMS320C1x/C2x/C2xx/C5x Instruction Set Comparison
B.2 Enhanced Instructions
An enhanced instruction is a single mnemonic that performs the functions of
several similar instructions. For example, the enhanced instruction ADD
performs the ADD, ADDH, ADDK, and ADLK functions and replaces any of
these other instructions at assembly time. For example, when a program using
ADDH is assembled for the ’C2xx or ’C5x, ADDH is replaced by an ADD
instruction that performs the same function. These enhanced instructions are
valid for TMS320C2x, TMS320C2xx, and TMS320C5x devices (not
TMS320C1x).
Table B–2 below summarizes the enhanced instructions and the functions that
the enhanced instructions perform (based on TMS320C1x/2x mnemonics).
Table B–2. Summary of Enhanced Instructions
Enhanced
Instruction
Includes These Operations
ADD
ADD, ADDH, ADDK, ADLK
AND
AND, ANDK
BCND BBNZ, BBZ, BC, BCND, BGEZ, BGZ, BIOZ, BLEZ, BLZ,
BNC, BNV, BNZ, BV, BZ
BLDD BLDD, BLKD
BLDP BLDP, BLKP
CLRC
CLRC, CNFD, EINT, RC, RHM, ROVM, RSXM, RTC,
RXF
LACC LAC, LACC, LALK, ZALH
LACL LACK, LACL, ZAC, ZALS
LAR LAR, LARK, LRLK
LDP LDP, LDPK
LST LST, LST1
MAR LARP, MAR
MPY MPY, MPYK
OR OR, ORK
RPT RPT, RPTK
SETC CNFP, DINT, SC, SETC, SHM, SOVM, SSXM, STC, SXF
SUB SUB, SUBH, SUBK