DSP C5000系列的汇编指令集
DSP320 C5000系列的汇编指令集,非常好的工具书,对于部分的5000的也可以参考,欢迎下载9.2、 Wait states..9.3、 SPORT Autobuffering&DMA…10 INSTRUCTION SET SYNTAX10.1 Punctuation multifunction Instructions.... 2010.2、 Syntax Notation Example………….….…..….2010.3 Status Register notati二、 DSP INSTRUCTIONS22ADD/ADD with carry.................222. SUBTRACT X-Y/SUBTRACT X-Y with BORrow243. SUBTRACTY-X/ SUBTRACT Y-X with BORrow...264.AND,OR,ⅩOR………285. TEST BIT SET BIT CLEAR BIT TOGGLE BIT鲁音··看看看着非普番306.PSS/ CLEAR…..·········.······:·····:7. NEGATE.348. NOT369. ABSOLUTE VALUE3710. INCREMENT鲁鲁普D音。音音·音音音·春音音音。。音·看看垂音11. DECREMENT3912. DIVIDE…4013. GENERATE ALU STATUS .............................................4314.MULT亚PLY4415. MULTIPLYACCUMULATE4716. MULTIPLY/SUBTRACT…4917. CLEAR5218. TRANSFER MR…5319. CONDITIONAL MR STATURATION..........5520. ARITHMMETIC SHIFT音音音音·。音音·看看·垂垂着是5621. LOGICAL SHIFT.….……………………5722, NORMALIZE5923 DERIVE EXPONENT24. BLOCK EXPINENT ADJUST...... 6425 ARITHMETIC SHIFT IMMEDIATE.6526. LOGICAL SHIFT IMMEDIATE...............6727. REGISTER MOVE∴·:::::·:···:·.············.······:::::·:··6828 LOAD REGISTER IMMEDIATE. ...............................7029. DATA MEMORY READ Direct Address)7230 DATA MEMORY READ (Indirect Address)......7331 PROGRAM MEMORY READ (Indirect Address )...7432 DATA MEMORY WRITE Direct Address).......7633. DATA MEMORY WRITE (Indirect Address)......7734 PROGRAM MEMORY WRITE (Indirect Address )...7935. T/O SPACE READAWRITE.8036. JUMP8137. CALL8238. JUMP or CAlL ON FLAG IN PIn.8439. MODIFY FLAG OUT PIN8540. RTS8641.RTI….………………………….8742. DO UNTIL…843.IDLE.…………………………………………9044 STACK CONTROL9245. TOPPCSTACK446 MODE CONTROL9647. MODIFY ADDRESS REGISTER48.NOP.…………949. INTERRUPT eNabLE disable9950 coMPuTATiON with MEMORY rEaD51.computationwithregistertoRegistErMove)452 coMPutAtioN with MEMORY Write.10853, data PRoGRaM Memory read54. ALUMmac with data program memory read55.附录116A. Table 15.1B. Table15.2…117C. Table 15.3118D. Table 15.4E. Table 15.5F. Table 15.6G. Table 15.7120H. Table 15.8120I. Table 15.9Table 15.101226ILC中国电子在线DSP汇编指令集一、 SUMMARIZE1, QUICK LIST OF INSTRUCTIONSThis chapter is a complete reference for the instruction set of theADSP-2100 family. The instruction set is organized by instruction groupand, within each group, by individual instruction. The list below showsall of the instructions and the reference page for eachALUAdd/add with carrySubtract x-y/Subtract x-Y with borrowSubtract y-X/Subtract y-X with borrowAND, OR XORTest Bit. set bit clear bit. Toggle bitPass/ClearNegateNOTAbsoluteⅤalueIncrementDecremeDivideGenerate aLU StatusMACMultiply第1页6ILC中国电子在线DSP汇编指令集Multiply/AccumulateMultiply/SubtractClearTransfer mrConditional mr saturationSHIFTER:Arithmetic shiftLogical shiftnormalizeDerive exponentBlock Exponent adjustArithmetic shift immediateLogical shift immediateMOVERegister moveLoad Register immediateData Memory read (direct Address)Data Memory read (Indirect AddressProgram Memory Read (Direct Address)Program Memory Read(Indirect AddressData memory write (direct AddressData Memory Write(Indirect Address)第2页6ILC中国电子在线DSP汇编指令集Program Memory Write (Indirect Address1 Space read/WritePROGRAM FLOW.JUMPCALLJUMP or CALL on Flag In PinModify flag out pinReturn from SubroutineReturn from InterruptDo UntilIDLEMISCStack ControlMode controlModify Address registerNOPInterrupt Enable disableMULTIFUNCTIONALUMMAC/SHIfT with memory readALUMMAC/SHIFT with Data Register MoveALUMMAC/SHIFT with Memory WriteData program Memory read第3页6ILC中国电子在线DSP汇编指令集ALUMMAC with Data program Memory read2、 OVERVIEWThis chapter provides an overview and detailed reference for theinstruction set of the ADsP-2100 family of dsP microprocessorsFor information regarding the ADsP-2100 Family DevelopmentSoftware, refer to the ADsP-2100 Family Assembler Tools simulatorManual, ADSP-2100 Family C Tools Manual, and ADSP-2100 Family CRuntime library manual. These manuals provide a complete guide to theComment[赵华1: Guide指导,指南development software. The handbooks Digital Signal ProcessingApplications Using The aDsP-2100 Family, Volume i and volume 2present DSP applications programs with source code and discussionThe instruction set is tailored to the computation-intensiveComment|赵华 I: tailored剪裁讲究的、(女式服法线条简单、腰身合algorithms common in DSP applications. For example, sustained体的、特制的、下净禾落的、时耄的:穿着考究的single-cycle multiplication/accumulation operations are possible. TheComment赵华 sustained连续的,持续的instruction set provides full control of the processors'three computationalunits:the aLu, MAC and Shifter. Arithmetic instructions can processsingle-precision 16-bit operands directly; provisions for multiprecisionComment[赵华 operands directly立即数operations are availableComment赵华5: multiprecision多精度The high-level syntax of ADSP-2100 family source code is bothreadable and efficient. Unlike many assembly languages, the ADSP-2100family instruction set uses an algebraic notation for arithmetic operationsand for data moves, resulting in highly readable source code. There is noComment[赵华6: result in导致,结,致使第4贝