DSP 汇编指令缩写
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
ABS Absolute value of Accumulator
ADD add to accumulator
ADDC add to accumulator with carry
ADDT add to accumulator with shift specified by TREG
AND and with accumulator
CMPL complement accumulator
LACC load accumulator with shift
LACL load low accumulator and clear high accumulator
LACT load accumulator with shift specified by TREG
NEG negate accumulator
NORM normalize contents of accumulator
OR or with accumulator
ROL/ROR rotate accumulator left/right
SACH/SACL store high/low accumulator with shift
SFL/SFR shift accumulator left/right
SUB subtract from accumulator
SBUC conditional subtract
SUBS subtract from accumulator with sign extension suppressed SUBT subtract from accumulator with shift specified by TREG
XOR exclusive or with accumulator
ZALR zero low accumulator and load high accumulator with rounding ADRK add short limmediate value to AR
BANZ branch on AR not zero
CMPR compare AR with AR0
LAR load AR
MAR modify AR
STR store AR
SBRK subtract short limmediate
APAC add PREG to accumulator
LPH load PREG
LT load TREG
LTA load TREG and ACC previous product
LTD load TREG ACC previous product and move date
LTS load TREG and subtract previous product
MAC multiply and accumulate
MACD multiply and accumulate wit data move
MPY multiply
MPY A multiply and accumulate previous product
MPYS multiply and subtract previous product
MPYS multiply unsign
PAC load accumulator with PREG
SPAC subtract PREG from accumulator
SPH/SPL store high/low PREG
SPM set PREG output shift mode
SQRA/SQRS square value and accumulate/subtract previous product B branch unconditionally
BACC branch to location specified by ACC
BANZ branch on AR not zero
BCND branch conditionally
CALA call subroutione at location specified by ACC
CALL call unconditionally
CC call conditionally
INTR software interrupt
NMI nonmaskable interrupt
RET return from subroutine
RETC return conditionally
TRAP software interrupt
BIT bit number
BITT test bit specified by TREG
CLRC clear control bit
IDEL idle until interrupt
LDP load data page pointer
LST load status register
NOP no operation
POP pop top of stack to low ACC
POPD pop top of stack to data memory
PSHD push data-memory value onto stack
PUSH push low ACC onto stack
RPT repeat next instruction
SETC set control bit
SPM set PREG output shift mode
SST store status register
BLDD block move from data memory to data memory
BLPD block move from data memory to data memory
DMOV data move in data memory
IN input data from port
OUT output data to port
SPLK store long immediate value to data memory
TBLR table read
TBLW table write