基于ARM Cortex-M0+ KL系列MCU的汇编构件设计  被引量:3

Design of assembly component based on KL series MCU in ARM Cortex-M0+

在线阅读下载全文

作  者:蔡伯峰[1,2] 王宜怀[1] 

机构地区:[1]苏州大学计算机科学与技术学院,江苏苏州215006 [2]泰州职业技术学院信息技术学院,江苏泰州225300

出  处:《现代电子技术》2018年第1期38-42,共5页Modern Electronics Technique

基  金:国家自然科学基金项目(61070169);江苏省高等职业院校国内高级访问学者计划资助项目(2015FX078)~~

摘  要:汇编编程的复杂性及有关32位ARM Cortex-M0+等内核汇编开发资料和样例程序的短缺,使编程者学习、研究和开发微处理器汇编程序难度很大。针对这一现状,在对ARM Cortex-M0+内部寄存器、汇编指令系统等进行深入分析的基础上,以NXP半导体公司KL系列MCU为蓝本,提出一种规范、易用、实用的汇编构件设计编程方法。该方法根据软件工程构件设计思想,基于构件封装要点分析和汇编工程框架,设计并实现汇编构件,并给出了典型UART模块的汇编底层驱动构件的样例程序。通过对汇编构件设计编程方法的使用和样例程序的学习与理解,降低嵌入式汇编学习和编程难度,并进而轻松设计其他类似的规范化的汇编构件和程序。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.

关 键 词:ARM Cortex-M0+ 汇编构件设计 KL系列MCU 底层驱动构件 汇编工程框架 UART 

分 类 号:TN919-34[电子电信—通信与信息系统] TP311[电子电信—信息与通信工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象