1、 1 摘摘 要要 本次课程设计是通过编写汇编语言程序,实现字符图形的显示,我们这组是 每人用汇编语言程序 实 现 不 同 的字 符显 示 , 我的 是显 示 字符 安 全 。 具 体实 现 方法 可以 在DOS 环境下完成。编写完程序后分析并理解每条程序的意思,并解释主要程序的意 思,最后调试出所要求的字符。在程序编写前,我首先对自己显示的图形进行 了设计, 确定了每个数字相对于前一个数字的位置,以便在编写程序的时候正确 定义字符的属性,也为在显示的时候能够显示较好的效果,打下了基础。本次实 验实验的编写环境是MASM,编译、链接也是在该环境下实现的。程序的运行我使用的 是DOS 环境。 通过
2、参考网上的一些原程序, 我发现要编写好该程序, 首先应该对BIOS的中 断10熟 悉, 因此 程序编写前,我先认真学习了该BIOS 中断的有关功能。万事开头难, 一 旦了解了设计此程序的原理, 并在此基础上掌握相关的技术, 其他的工作也就跟着展开 来。 本次课程设计,是使用汇编作为开发语言实现功能要求。总所周知,汇编 是一个低级语言,对硬件有很大的依赖性,在使用上也不及高级语言方便,但 其在执行效率上比高级语言有很大的优势。本次课程设计,一方面让我们再次 熟悉汇编指令,再次对算法的设计有一定的要求。另一方面让我们对较大汇编 程序的编写有一个清晰的过程,学习把一个教大问题分解成若干个小问题,即
3、子程序是一个良好的编程习惯。掌握汇编指令,学习的理论知识应用于解决实 际的问题。 关键词关键词:推箱子,休闲娱乐,拓展思维 2 Abstract This course is designed by write assembly language program to realize the character graphic display, each of our group is in assembly language program to realize the different characters, according to my is the character - secu
4、rity. Concrete implementation method can be done in the DOS environment. After writing the program analysis and understand the meaning of each program, and explain the meaning of the main program, the final debugging the required characters. Before I write, I first has carried on the design to their
5、 own display graphics, identified before every number relative to the position of a number, so that at the time of write programs correctly define the character attributes, also for the display of time can show good effect, laid the foundation. This experiment experimental writing environment is MAS
6、M, compile, link, also is in the ? The curriculum design, assembly as a development language realization is the use of functional requirements. Known, the assembly is a low-level language, have great dependence on hardware, also as a high-level language in use is convenient, but its on the execution efficiency than a high-level language has a great advantage. The curriculum design, on the one hand, let us be familiar with assembly instruction again and again to the design of algorithm ha