文件名称:baogeascii
介绍说明--下载内容均来自于网络,请自行研究使用
一、用表格形式显示字符
1、题目:用表格形式显示ASCII字符
2、实验要求:
按15行*16列的表格形式显示ASCII码为10H-100H之间的所有字符,即以行为主的顺序用ASCII码递增的次序依次显示对应的字符.每16个字符为一行,每行中的相邻两个字符之间用空白符(ASCII为0)隔开.
3、提示:
(1)显示每个字符可能使用功能号为02的显示输出功能调用,使用方法如下:
MOV AH,02H
MOV DL,输出字符的ASCII码
INT 21H
本题中可把DL初始化为10H,然后不断使其加1(用INC指令)以取得下一个字符的ASCII码.
(2)显示空白符时,用其ASCII码为0置入DL寄存器.每行结束时,用显示回车和换行符结束本行并开始下一行.
(3)由于逐个显示相继为ASCII字符时,需要保存并不断修改DL寄存器的内容,而显示空白、回车、换行符时也需要使用DL寄存器,为此可用堆栈来保存相继的ASCII字符。
具体用法是:在显示空白或回车、换行符前用指令PUSH DX把DL的内容保存到堆栈中去。在显示空白或回车、换行符后用指令恢复DL寄存器的原始内容。-a tabular form with a character show, entitled : tabular form showed two ASCII characters, experimental requirements :* 15 by 16 firms in tabular form for the show ASCII des-100H between all characters, that is, to act with the main sequence of ASCII increase in the order corresponding to the sequence of characters. Each of the 16 characters, and his party Each line of the adjacent between two characters with an empty site (ASCII 0) separated. 3, Tip : (1), showing each character may be used for 02 functions, the output function, use the following method : MOV AH, 02H MOV DL, Output ASCII characters INT 21H this issue can be put to initialize the DL 10 H, and then it increases one (using INC. Directive) to obtain under an ASCII characters. (2), showing a blank website , with its ASCII 0 p
1、题目:用表格形式显示ASCII字符
2、实验要求:
按15行*16列的表格形式显示ASCII码为10H-100H之间的所有字符,即以行为主的顺序用ASCII码递增的次序依次显示对应的字符.每16个字符为一行,每行中的相邻两个字符之间用空白符(ASCII为0)隔开.
3、提示:
(1)显示每个字符可能使用功能号为02的显示输出功能调用,使用方法如下:
MOV AH,02H
MOV DL,输出字符的ASCII码
INT 21H
本题中可把DL初始化为10H,然后不断使其加1(用INC指令)以取得下一个字符的ASCII码.
(2)显示空白符时,用其ASCII码为0置入DL寄存器.每行结束时,用显示回车和换行符结束本行并开始下一行.
(3)由于逐个显示相继为ASCII字符时,需要保存并不断修改DL寄存器的内容,而显示空白、回车、换行符时也需要使用DL寄存器,为此可用堆栈来保存相继的ASCII字符。
具体用法是:在显示空白或回车、换行符前用指令PUSH DX把DL的内容保存到堆栈中去。在显示空白或回车、换行符后用指令恢复DL寄存器的原始内容。-a tabular form with a character show, entitled : tabular form showed two ASCII characters, experimental requirements :* 15 by 16 firms in tabular form for the show ASCII des-100H between all characters, that is, to act with the main sequence of ASCII increase in the order corresponding to the sequence of characters. Each of the 16 characters, and his party Each line of the adjacent between two characters with an empty site (ASCII 0) separated. 3, Tip : (1), showing each character may be used for 02 functions, the output function, use the following method : MOV AH, 02H MOV DL, Output ASCII characters INT 21H this issue can be put to initialize the DL 10 H, and then it increases one (using INC. Directive) to obtain under an ASCII characters. (2), showing a blank website , with its ASCII 0 p
(系统自动生成,下载前可以参看下载内容)
下载文件列表
baogeascii
..........\新建文件夹
..........\..........\21.asm
..........\..........\复件 (2) 21.asm
..........\..........\复件 21.asm
..........\新建文件夹
..........\..........\21.asm
..........\..........\复件 (2) 21.asm
..........\..........\复件 21.asm