资源描述:
《64x 汇编指令 有关dsp》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、附录C64x汇编指令TMS320C64x指令集指令语法描述ABSABS(.unit)src2,dst.unit=.L1or.L2Theabsolutevalueofsrc2isplacedindst.ABS2ABS2(.unit)src2,dst.unit=.L1or.L2Theabsolutevaluesoftheupperandlowerhalvesofthesrc2operandareplacedintheupperandlowerhalvesofthedst.ADDADD(.unit)src1,src2,dst.unit=.D1,.D2,.L1,.L2,.S1,.S2src2isa
2、ddedtosrc1.Theresultisplacedindst.ADDABADDAB(.unit)src2,src1,dst.unit=.D1or.D2FortheC64xandC64x+CPU,src1isaddedtosrc2usingthebyteaddressingmodespecifiedforsrc2.Theadditiondefaultstolinearmode.However,ifsrc2isoneofA4-A7orB4-B7,themodecanbechangedtocircularmodebywritingtheappropriatevaluetotheAMR.Th
3、eresultisplacedindst.ADDADADDAD(.unit)src2,src1,dst.unit=.D1or.D2src1isaddedtosrc2usingthedoublewordaddressingmodespecifiedforsrc2.Theadditiondefaultstolinearmode.However,ifsrc2isoneofA4-A7orB4-B7,themodecanbechangedtocircularmodebywritingtheappropri-atevaluetotheAMR.src1isleftshiftedby3duetodoubl
4、eworddatasizes.Theresultisplacedindst.ADDAHADDAH(.unit)src2,src1,dst.unit=.D1or.D2FortheC64xandC64x+CPU,src1isaddedtosrc2usingthehalfwordaddressingmodespecifiedforsrc2.Theadditiondefaultstolinearmode.However,ifsrc2isoneofA4-A7orB4-B7,themodecanbechangedtocircularmodebywritingtheappropriatevaluetot
5、heAMR.Ifcircularaddressingisenabled,src1isleftshiftedby1.Theresultisplacedindst.ADDAWADDAW(.unit)src2,src1,dst.unit=.D1or.D2FortheC64xandC64x+CPU,src1isaddedtosrc2usingthewordaddressingmodespecifiedforsrc2.Theadditiondefaultstolinearmode.However,ifsrc2isoneofA4-A7orB4-B7,themodecanbechangedtocircu
6、larmodebywritingtheappropriatevaluetotheAMR.Ifcircularaddressingisenabled,src1isleftshiftedby2.Theresultisplacedindst.ADDKADDK(.unit)cst,dst.unit=.S1or.S2A16-bitsignedconstant,cst16,isaddedtothedstregisterspecified.Theresultisplacedindst.ADDKPCADDKPC(.unit)src1,dst,src2.unit=.S2A7-bitsignedconstan
7、t,src1,isshifted2bitstotheleft,thenaddedtotheaddressofthefirstinstructionofthefetchpacketthatcontainstheADDKPCinstruction(PCE1).Theresultisplacedindst.The3-bitunsignedconstant,src2,specifiesthenumberofNOPcyclesto