- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Chapter 5 Assembly Language TI C5000官方课件
Copyright ? 2003 Texas Instruments. All rights reserved. DSP C5000 Chapter 5 Assembly Language Assembly Language Two Main types of assembly language : Algebraic Mnemonic Both C54x and C55x can use either type of assembly language. C54x Assembly Language The instruction set is divided into four basic types : Arithmetic Logic Load, Store Move Program control C54x has a fixed length instruction word Instruction must be encoded in one 16-bit word in order to be executed in one cycle Instructions and Operands General syntax of an instruction : Instr Op1,[Op2,[Op3,[…]]] For Instr field refer to TI documentation or following slides The Op1,[Op2,[Op3,[…]]] field syntax is specified in instruction documentation and specifies the way (type of addressing mode) you could use for the operands. Operand Syntax Arithmetic Instructions General purpose Arithmetic : Addition/subtraction Multiply (and accumulate) Square Divide Application Specific Arithmetic : Miscellaneous Polynomial evaluation Distance computation Specific filters Butterfly computation (Viterbi) General Purpose Arithmetic Addition/subtraction field4=field3 ?field1*2field2 Result is stored in field4 if present else in field3, shift is done according to field2 if present. Shift field is detailed on the next slide … Shift Field Many instructions use shift on one operand. This shift is specified in operands field and could be : Immediate if specified by the keywords: -16 ? SHIFT ? 15 0 ? SHIFT1 ? 15 Register indirect: -16 ? ASM? 15 (Accumulator Shift Mode field of ST1) -16 ? TS? 31 (TS are ths 6 LSBs of T register) General Purpose Arithmetic Addition/subtraction (special cases) Arithmetic with unsigned operand : field2=field2 ?unsigned(field1) Direct computation on memory : With : General Purpose Arithmetic Addition/subtraction (extended precision) : 32 bits : 1 : field2=field2 ?field1 2 : field2=field1-field2 If C16=0 field1 and field2 are considered as 32-bit operands and 32 bits ? is realized. If
您可能关注的文档
- ch3_2图1 《软件技术基础》 教学课件.ppt
- ch3_1树2 《软件技术基础》 教学课件.ppt
- ch3_2图2 《软件技术基础》 教学课件.ppt
- ch3_2图2_1 《软件技术基础》 教学课件.ppt
- ch3_ARM指令集与编程 嵌入式系统原理与应用技术 教学课件.ppt
- ch3_文件系统new_简化 linux课件.ppt
- ch3总结 研究生现代控制工程试卷 课件.ppt
- CH3-铁碳合金的平衡组织与非平衡组织 第6-7-8讲 工程材料 教学课件.ppt
- CH3特许经营的类型、结构与原则 特许经营导论 教学课件.ppt
- ch3线性控制系统的能控性和能观测性-2节 研究生现代控制工程试卷 课件.ppt
- 初中英语人教版七年级上册第四单元Where is my schoolbag ! Section A .ppt
- 初中英语人教版七年级上册第四单元Where is my schoolbag Section B 2.ppt
- 初中英语人教版七年级下册 Unit 6 I'm watching TV. Section A 11a.pptx
- 注册土木工程师培训课件.ppt
- 初中生物济南版七年级上册第一章奇妙的生命现象 第三节生物学的探究方法.ppt
- 初中英语人教版七年级上册第四单元Where is my schoolbag Section B 2.pptx
- 注册安全工程师案例课件.ppt
- 初中物理人教版八年级上册第二章第4节噪声的危害和控制课件(共19张PPT).pptx
- 注册安全工程师王阳课件.ppt
- 初中数学青岛版八年级上2.4《线段的垂直平分线》课件(16张PPT).ppt
原创力文档


文档评论(0)