- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于ARMCortexM+KL系列MCU的汇编构件设计
摘 要: 汇编编程的复杂性及有关32位ARM Cortex?M0+等内核汇编开发资料和样例程序的短缺,使编程者学习、研究和开发微处理器汇编程序难度很大。针对这一现状,在对ARM Cortex?M0+内部寄存器、汇编指令系统等进行深入分析的基础上,以NXP半导体公司KL系列MCU为蓝本,提出一种规范、易用、实用的汇编构件设计编程方法。该方法根据软件工程构件设计思想,基于构件封装要点分析和汇编工程框架,设计并实现汇编构件,并给出了典型UART模块的汇编底层驱动构件的样例程序。通过对汇编构件设计编程方法的使用和样例程序的学习与理解,降低嵌入式汇编学习和编程难度,并进而轻松设计其他类似的规范化的汇编构件和程序。
关键词: ARM Cortex?M0+; 汇编构件设计; KL系列MCU; 底层驱动构件; 汇编工程框架; UART
中图分类号: TN919?34; TP311 文献标识码: A 文章编号: 1004?373X(2018)01?0038?05
Abstract: It is difficult for programmer to learn, study and develop the microprocessor assemble program due to the complexity of assembly programming and the shortage of assembly development data and sample programs of the 32?bit ARM Cortex?M0+, and other kernels. In view of this situation, on the basis of the deep analysis of the ARM Cortex?M0+ internal register and assembly instruction system, the KL Series MCU made by NXP is taken as the exsample to present a standardized, usable and practical design method for assembly component. According to the design thought of software engineering component, analysis of component packaging key points and assembly engineering framework, the assembly component was designed and implemented. The sample program of the assembly bottom?driven component of the typical UART module is given. With application of design and programming methods of the assembly component, and by learning and understanding of the sample programaim, the difficulty of the embedded assembly learning and programming is reduced, and the design of other similar standardized assembly components and programs becomes easy.
Keywords: ARM Cortex?M0+; assembly component design; KL series MCU; bottom?layer driving component; assembly project framework; UART
0 引 言
ARM Cortex?M0+微处理器是ARM公司的一款耗电量仅为9 μA/MHz的全球最低功耗的32位微处理器,性价比高、易用,并具有良好的软件兼容性,可方便地移植到更高性能的Cortex?M3/M4上。该微处理器基于ARMv6M架构,支持Thumb指令集和部分Thumb2指令集[1]。NXP半导体公司的KL系列MCU是业内首款采用ARM Cortex?M0+内核的MCU,具有应用设计方便、可扩展性好、超低功耗、品种齐全等特点[2]。目前,对微处理器的应用开发绝大多数编程者
您可能关注的文档
最近下载
- 2024—2025学年广东省佛山市顺德区九年级上学期期中考试化学试卷.doc VIP
- 阿托品化与阿托品中毒的主要区别.docx VIP
- 麦克维尔多联机安装说明书.pdf VIP
- Unit 2 Section B(1a-Project)课件人教版2024新教材七年级上册英语.pptx VIP
- 南京大学《算法设计与分析》ppt课件 L12 - DAG.pdf VIP
- 南京大学《算法设计与分析》ppt课件 L11 - GraphTraversal.pdf VIP
- CH_T 7002-2018CN 无人船水下地形测量技术规程.docx
- 生产现场质量问题分析与解决培训.ppt VIP
- SMP-03-005-00 委托生产文件管理规程.pdf VIP
- 南京大学《算法设计与分析》ppt课件 L10 - Union-Find.pdf VIP
原创力文档


文档评论(0)