文件名称:汇编语言课程设计1
介绍说明--下载内容来自于网络,使用问题请自行百度
程序首先定义一个hello的函数调用int 21h mov ah ,09来显示字符串,ds:dx定义字符串位置 来使用一个80×25的界面使整个程序更加美观 游戏主程序调用BIOS int 10 的9号功能实现对目标文本的颜色和定位,。游戏主程序可以用int 16 mov ah,00从键盘读取输入的字符在调用int 21 mov ah,01 让键盘输入显示在屏幕中 al=输入的字符,用cmp指令对输入的文本和目标文本进行比较,再利用选择语句将错误的输入字符显示为红色,将正确的输入字符显示为绿色。在整个字符串结束后直接退到dos环境-procedures hello first definition of a function call int 21 hours mov ah, 09 to show string, ds : dx definition string position to use a 80 x 25 interface to make the whole process more attractive game int main program called BIOS on the 9th of 10 functions to achieve the goal of text color and positioning. Game int main program can use 16 mov ah, 00 input from the keyboard to read characters in the call int 21 mov ah, 01 for keyboard input the screen were al = input characters using cmp directive of input text and the text more goals and used the wrong choice of words to the imported characters shown as red, to the correct input characters shown as green. The entire string after the end of direct retreated dos environment
(系统自动生成,下载前可以参看下载内容)
下载文件列表
汇编语言课程设计1.doc
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.