188宝金博页面版

  • 图案背景
  • 纯色背景
视图
标记
批注
批注本地保存成功,开通会员云端永久保存 去开通
byxxfqfbb

上传于:2015-03-24

粉丝量:9

该文档贡献者很忙,什么也没留下。


  • 相关
  • 目录
  • 笔记
  • 书签

188宝金博页面版:更多相关文档

  • TMS320C6000系列内联指令 pdf

    星级: 6 页

  • TMS320C6000系列内联指令

    星级: 6 页

  • TMS320C6000内联指令汇编

    星级: 59 页

  • [精品]欧盟系列环保指令

    星级: 5 页

  • 欧盟系列环保指令(精品)

    星级: 7 页

  • TMS320C6000系列DSP指令系统

    星级: 78 页

  • 第3章-2 TMS320C6000系列DSP指令系统

    星级: 26 页

  • 【精品】FX系列功能指令

    星级: 103 页

  • 【精品】86系列的指令系统

    星级: 103 页

  • 86系列微机指令系统(精品)

    星级: 132 页

  • 【精品】Q系列指令及基础

    星级: 86 页

  • 第2章 TMS320C6000系列CPU、指令系统、伪指令

    星级: 17 页

  • [精品]内联

    星级: 2 页

  • [精品]内联网

    星级: 4 页

  • [精品]内联网

    星级: 5 页

暂无目录

点击鼠标右键菜单,创建目录

暂无笔记

选择文本,点击鼠标右键菜单,添加笔记

暂无书签

在左侧文档中,点击鼠标右键,添加书签

188宝金博页面版: [精品]TMS320C6000系列内联指令

下载积分: 420

内容提示: www.ti.comPreliminaryInterfacingCandC++WithAssemblyLanguageTable8-3.TMS320C6000C/C++CompilerIntrinsicsC/C++CompilerIntrinsicAssemblyDescriptionInstructionint_ abs(intsrc);ABSReturnsthesaturatedabsolutevalueofsrcint_ labs(longsrc);int_ add2(intsrc1,intsrc2);ADD2Addstheupperandlowerhalvesofsrc1totheupperandlowerhalvesofsrc2andreturnstheresult.Anyoverflowfromthelowerhalfadddoesnotaffecttheupperhalfadd.ushort&_ amem2(void*ptr);LDHUAllowsalignedloadsandstoresof2bytestomemorySTHU(1)constushort&_ amem2_ const(con...

文档格式:PDF | 页数:6 | 浏览次数:162 | 上传日期:2015-03-24 14:01:53 | 文档星级:
www.ti.comPreliminaryInterfacingCandC++WithAssemblyLanguageTable8-3.TMS320C6000C/C++CompilerIntrinsicsC/C++CompilerIntrinsicAssemblyDescriptionInstructionint_ abs(intsrc);ABSReturnsthesaturatedabsolutevalueofsrcint_ labs(longsrc);int_ add2(intsrc1,intsrc2);ADD2Addstheupperandlowerhalvesofsrc1totheupperandlowerhalvesofsrc2andreturnstheresult.Anyoverflowfromthelowerhalfadddoesnotaffecttheupperhalfadd.ushort&_ amem2(void*ptr);LDHUAllowsalignedloadsandstoresof2bytestomemorySTHU(1)constushort&_ amem2_ const(constvoid*ptr);LDHUAllowsalignedloadsof2bytesfrommemory(1)unsigned&_ amem4(void*ptr);LDWAllowsalignedloadsandstoresof4bytestomemorySTW(1)constunsigned&_ amem4_ const(constvoid*ptr);LDWAllowsalignedloadsof4bytesfrommemory(1)double&_ amemd8(void*ptr);LDW/LDWAllowsalignedloadsandstoresof8bytestomemory.STW/STWForC6400_ amemdcorrespondstodifferentassemblyinstructionsthanwhenusedwithotherC6000devices;seeTable8-4forspecifics.(1)(2)constdouble&_ amemd8_ const(constvoid*ptr);LDDWAllowsalignedloadsof8bytesfrommemory(1)(2)unsigned_ clr(unsignedsrc2,unsignedcsta,un-CLRClearsthespecifiedfieldinsrc2.Thebeginningandendingsignedcstb);bitsofthefieldtobeclearedarespecifiedbycstaandcstb,respectively.unsigned_ clrr(unsignedsrc2,intsrc1);CLRClearsthespecifiedfieldinsrc2.Thebeginningandendingbitsofthefieldtobeclearedarespecifiedbythelower10bitsofsrc1.ulong_ dtol(doublesrc);Reinterpretsdoubleregisterpairsrcasanunsignedlongregisterpairint_ ext(intsrc2,unsignedcsta,unsignedcstb);EXTExtractsthespecifiedfieldinsrc2,sign-extendedto32bits.Theextractisperformedbyashiftleftfollowedbyasignedshiftright;cstaandcstbaretheshiftleftandshiftrightamounts,respectively.int_ extr(intsrc2,intsrc1);EXTExtractsthespecifiedfieldinsrc2,sign-extendedto32bits.Theextractisperformedbyashiftleftfollowedbyasignedshiftright;theshiftleftandshiftrightamountsarespecifiedbythelower10bitsofsrc1.unsigned_ extu(unsignedsrc2,unsignedcsta,EXTUExtractsthespecifiedfieldinsrc2,zero-extendedto32bits.unsignedcstb);Theextractisperformedbyashiftleftfollowedbyaunsignedshiftright;cstaandcstbaretheshiftleftandshiftrightamounts,respectively.unsigned_ extur(unsignedsrc2,intsrc1);EXTUExtractsthespecifiedfieldinsrc2,zero-extendedto32bits.Theextractisperformedbyashiftleftfollowedbyaunsignedshiftright;theshiftleftandshiftrightamountsarespecifiedbythelower10bitsofsrc1.unsigned_ ftoi(floatsrc);Reinterpretsthebitsinthefloatasanunsigned.Forexample:_ ftoi(1.0)==1065353216Uunsigned_ hi(doublesrc);Returnsthehigh(odd)registerofadoubleregisterpairunsigned_ hill(longlongsrc);Returnsthehigh(odd)registerofalonglongregisterpairdouble_ itod(unsignedsrc2,unsignedsrc1);Buildsanewdoubleregisterpairbyreinterpretingtwounsignedvalues,wheresrc2isthehigh(odd)registerandsrc1isthelow(even)registerfloat_ itof(unsignedsrc);Reinterpretsthebitsintheunsignedasafloat.Forexample:_ itof(0x3f800000)==1.0longlong_ itoll(unsignedsrc2,unsignedsrc1);Buildsanewlonglongregisterpairbyreinterpretingtwounsignedvalues,wheresrc2isthehigh(odd)registerandsrc1isthelow(even)register(1)SeetheTMS320C6000Programmer'sGuideformoreinformation.(2)SeeSection8.5.4,UsingUnalignedDataand64-BitValues,fordetailsonmanipulating8-bytedataquantities.SPRU187N– July2005Run-TimeEnvironment171

188宝金博页面版:关注我们

  • 新浪微博

关注188宝金博页面版公众号

188宝金博页面版
阅读
APP
阅读
返回
顶部
188宝金博页面版官网登录在线平台入口(2026已更新)—江苏协昌电子科技股份有限公司