首页> 外文期刊>International Journal of Electrical Engineering Education >Teaching assembly and C language concurrently
【24h】

Teaching assembly and C language concurrently

机译:同时进行汇编和C语言教学

获取原文
获取原文并翻译 | 示例
       

摘要

The paper discusses whether (and how) to teach assembly coding as opposed to (or in conjunction with) higher programming languages as part of a modern electrical engineering curriculum. We describe the example of a very simple cooperative embedded real-time operating system, first programmed in C and then in assembler. A few lines of C language code are compared with the slightly longer assembly code equivalent, and the advantages and drawbacks are discussed. The example affords students a much deeper understanding of computer architecture and operating systems. The course is linked to other courses in the curriculum, which all use the same hardware and software platform; this lowers prices, reduces overheads and encourages students to reuse parts of a written code in subsequent courses. A student learns that badly written and poorly documented code is very difficult to reuse. [PUBLICATION ABSTRACT]
机译:本文讨论了是否(以及如何)教授汇编编码,而不是(或与之结合)更高的编程语言,这是现代电气工程课程的一部分。我们描述了一个非常简单的协作嵌入式实时操作系统的示例,该示例首先在C中进行编程,然后在汇编器中进行编程。比较了几行C语言代码和稍长的汇编代码,并讨论了其优缺点。该示例使学生对计算机体系结构和操作系统有更深入的了解。该课程与课程中的其他课程链接,它们都使用相同的硬件和软件平台;这降低了价格,减少了管理费用,并鼓励学生在后续课程中重用部分书面代码。学生了解到,编写不好的文档和记录不好的代码很难重用。 [出版物摘要]

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号