期刊文献+

基于指令集映射的汇编语言教学探索

Exploration of assembly language teaching based on instruction set mapping
下载PDF
导出
摘要 X86、MIPS、ARM是本科生课程中最常见的三种汇编语言指令集,其中X86指令集代表复杂指令集(CISC),MIPS、ARM则代表精简指令集(RISC)。X86指令集一般用于汇编语言程序设计的入门教学;MIPS、ARM指令集一般用于计算机组成原理、计算机系统结构等课程中的计算机底层逻辑教学。在实际教学中,由于学时有限,难以覆盖上述所有指令集;然而,各类指令集都可能出现在实际的应用场景中。以教学实践为基础总结了在X86汇编语言课程中,引入MIPS和ARM汇编语言的方法,分析了三种汇编语言对应硬件结构的异同之处,提出了一种以功能为核心的多汇编语言指令集映射方法,并给出了基于该方法的部分指令对应关系以及实现同一功能的不同汇编代码示例,为多汇编语言教学课程建设提供基础。 X86,MIPS,and ARM are the three most common assembly language instruction sets in undergraduate courses,with X86 representing Complex Instruction Set Computing(CISC)and MIPS and ARM representing Reduced Instruction Set Computing(RISC).The X86 instruction set is generally used for introductory teaching of assembly language programming,while the MIPS and ARM instruction sets are commonly used for teaching computer fundamentals,computer system architecture,and other courses on low-level computer logic.In actual teaching,due to limited class hours,it is difficult to cover all of the above instruction sets;however,various instruction sets may appear in practical application scenarios.Based on teaching practices,this paper summarizes the methods of introducing MIPS and ARM assembly languages in X86 assembly language courses,analyzes the similarities and differences in hardware structures corresponding to the three assembly languages,proposes a core-function-based multi-assembly language instruction set mapping method,and provides some instruction correspondences and different assembly code examples for implementing the same function,providing the foundation for the construction of multi-assembly language teaching courses.
作者 徐振宇 李征 张飞絮 王竹 唐先勇 帅仁策 XU Zhenyu;LI Zheng;ZHANG Feixu;WANG Zhu;TANG Xianyong;SHUAI Rence(College of Computer Science,Sichuan University,Chengdu 610065,China;Key Laboratory of Sichuan Province for AI Empowered Governance in Smart Society,Sichuan University,Chengdu 610065,China)
出处 《实验室科学》 2024年第4期1-6,共6页 Laboratory Science
关键词 汇编语言 指令集映射 课程建设 assembly language instruction set mapping curriculum construction
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部