- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
                        查看更多
                        
                    
                Chapter 5 Assembly Language   TI C5000官方教材.ppt
                    Status bit Set/Clear ? When these instructions are decoded to modify status bit CAFRZ (15), CAEN (14), or CACLR (13), the CPU pipeline is flushed and the instruction is executed in 5 cycles regardless of the instruction context. Extended auxiliary register (XAR) operations Logical operations Logical operations Logival operations Miscelaneous operations Move operations Move operations Move operations Some examples for the 17 forms of ADD ADD uns(*AR3)  #31, AC1, AC0 The unsigned content addressed by AR3 shifted left by 31 bits is added to the content of AC1 and the result is stored in AC0. ADD dbl(*AR3+), AC1, AC0 The content (long word) addressed by AR3 and AR3 + 1 is added to the content of AC1 and the result is stored in AC0. Because this instruction is a long-operand instruction, AR3 is incremented by 2 after the execution. ADD *AR3, *AR4, AC0 The content addressed by AR3 shifted left by 16 bits is added to the content addressed by AR4 shifted left by 16 bits and the result is stored in AC0. ADD #FFFFh, *AR3 The content addressed by AR3 is added to a signed 16-bit value and the result is stored back into the location addressed by AR3. ADDV AC1, AC0 The absolute value of AC1 is added to the content of AC0 and the result is stored in AC0. Arithmetic instructions: compare and select extremum See examples and more details on next slides Index Search - DMAXDIFF, MAXDIFF DMAXDIFF  ACx,ACy,ACz,ACw,TRNx 32-bit Search ACx/ACy = values, ACz = max, ACw = ACy-ACx, TRNx = index  ~N cycles for N taps with index TRN0/1 0 15 1 (If new max, shift “1” into MSB) Splits AC’s into two 16-bit registers Max of hi/low halves placed in ACz, ACy-ACx placed in ACw, TRN0/1 hold index TRN0 (tracks AC high),  TRN1 (tracks AC low) ~N/2 cycles for N taps with index MAXDIFF  ACx,ACy,ACz,ACw Dual 16-bit Search MINDIFF and DMINDIFF also supported Example of MAXDIFF instruction MAXDIFF AC0, AC1, AC2, AC1  Before 				After AC0 10 2400 2222 		AC0 10 2400 2222 AC1 90 0000 0000 		AC1 FF 8000 DDDE AC2 
                您可能关注的文档
- Chapter 21 Frequency Modulation GMSK Modulation TI C5000官方教材.ppt
- Chapter 21 周环反应 (08 4 30 white) 浙江大学有机化学 大学二年级教材课程.ppt
- Chapter 22 - International Financial Management 现代财务相关管理英文版课件.ppt
- CHAPTER 22 DEVELOPING CONTRIES 国际经济学PPT知识讲稿.ppt
- Chapter 22 General Design of Mechanical Systems 机械设计教材.ppt
- Chapter 22 Implementation of Viterbi AlgorithmConvolutional Coding TI C5000官方教材.ppt
- chapter 22 亲核取代反应 浙江大学有机化学 大学二年级 浙江大学教程文件.ppt
- Chapter 23 - Corporate Restructuring 现代财务相关管理英文版课件.ppt
- Chapter 23 Elimination 浙江大学有机化学 大学二年级 浙江大学教程文件.ppt
- Chapter 23 Mobile Communication Speech Coders TI C5000官方教材.ppt
- Chapter 5 Computer section 5-2 Microprocessor and Memory 电气工程及其自动化专业英语教材.ppt
- Chapter 5 Concept Description Characterization and Comparison 数据挖掘双语演示教学.ppt
- Chapter 5 Continuous Flow Manufacturing 连续流程生产 现场相关管理 .ppt
- Chapter 5 Data Storage 计算机系统概论(双语教材)专业英语教材.ppt
- Chapter 5 economy Contemporary British Culture and Society 英国社会与文化的 .ppt
- Chapter 5 Education, Media and Holiday 英语国家概况 英国文化的选修课 .ppt
- Chapter 5 Haloalkanes (07 9) 浙江大学有机化学 大学二年级上学期知识讲稿.ppt
- CHAPTER 5 INTERNAL CONTROL OVER FINANCIAL REPORTING 审计学-基于环境变化的概念英文版教材.ppt
- Chapter 5 Kernel Methods and Radial-Basis Function Networks 《神经网络与 及机器学习》 .ppt
- Chapter 5 Link Layer and LANs 高级计算机网络 (英文版)讲解材料.ppt
 原创力文档
原创力文档 
                        

文档评论(0)