Location:
Search - int 10h
Search list
Description: 一、用表格形式显示字符
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
Platform: |
Size: 1454 |
Author: 庄宁文 |
Hits:
Description: 一、用表格形式显示字符
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
Platform: |
Size: 1024 |
Author: 庄宁文 |
Hits:
Description: int 10h 介绍系统功能调用 -introduced the system int 10h function calls
Platform: |
Size: 11264 |
Author: 田基 |
Hits:
Description: 程序可以在VGA显示器上以800x600分辨率显示方波示例和字母示例,源文件保存在src目录,QII的工程文件保存在Proj目录。-Program can display in VGA resolution display to 800x600 square sample and letters examples, source files stored in the src directory, QII the project file stored in the directory Proj.
Platform: |
Size: 2709504 |
Author: HENRRY |
Hits:
Description: Enter the Matrix MS-DOS screensaver.
Sample of using bios functions (by int 10h) for text data output (monitor in the text mode) and keyboard input. Requires: Borland C++ 3.1 for DOS.- Enter the Matrix MS-DOS screensaver.
Sample of using bios functions (by int 10h) for text data output (monitor in the text mode) and keyboard input. Requires: Borland C++ 3.1 for DOS.
Platform: |
Size: 9216 |
Author: SoFx00 |
Hits:
Description: 本文介绍一种用PIC12F675单片机做的USB充电器,
将它接在计算机的USB接口上就能对两节镍镉或镍氢电池
进行充电,充电结束后能自动停止充电。充电器主要采用电
压监测的方法判断充电是否结束,对于因为电池的原因达
不到规定的充电电压的,也能在充-TACK SEGMENT STACK
DW 64 DUP(?)
STACK ENDS
DATA SEGMENT
NUM DB 34H,45H,45H
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE, ds:data
START: MOV AX,DATA
MOV DS,AX
MOV SI,OFFSET NUM
MOV BL,[SI]
CMP BL,[SI+1]
JNE CMP13
CMP BL,[SI+2]
JNE DISP1
JMP DISP2
CMP13: CMP BL,[SI+2]
JNE CMP23
JMP DISP1
CMP23: MOV BL,[SI+1]
CMP BL,[SI+2]
JNE DISP0
JMP DISP1
DISP0: MOV AL,"0"
JMP QUIT1
DISP1: MOV AL,"1"
JMP QUIT1
DISP2: MOV AL,"2"
QUIT1: MOV AH,01H
INT 10H
QUIT: JMP QUIT
Platform: |
Size: 177152 |
Author: shichao |
Hits:
Description: 18岁那年,欧文拿着借来的100英镑,在曼彻斯特创办了自己的工厂。20岁的时候,他为了求得更好的发展,把他的小工厂卖给了一个叫德林科沃特的 人,自己则受雇于他成为一个更大工厂的经理。在-STACK SEGMENT STACK
DW 64 DUP(?)
STACK ENDS
DATA SEGMENT
NUM DB 34H,45H,45H
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE, ds:data
START: MOV AX,DATA
MOV DS,AX
MOV SI,OFFSET NUM
MOV BL,[SI]
CMP BL,[SI+1]
JNE CMP13
CMP BL,[SI+2]
JNE DISP1
JMP DISP2
CMP13: CMP BL,[SI+2]
JNE CMP23
JMP DISP1
CMP23: MOV BL,[SI+1]
CMP BL,[SI+2]
JNE DISP0
JMP DISP1
DISP0: MOV AL,"0"
JMP QUIT1
DISP1: MOV AL,"1"
JMP QUIT1
DISP2: MOV AL,"2"
QUIT1: MOV AH,01H
INT 10H
QUIT: JMP QUIT
CODE ENDS
END START
Platform: |
Size: 181248 |
Author: shichao |
Hits:
Description: BIOS int 10h功能描述,DOS下编程很值得收藏。-description of the interrupt 10H.
Platform: |
Size: 3072 |
Author: 彬彬2009 |
Hits:
Description: 汇编实验
之
输入/输出与中断实验
一、实验目的
1.掌握输入/输出与中断指令的使用方法;
2.掌握中断向量表的结构及使用方法;
3.掌握INT指令的使用方法;
4.掌握BIOS中断功能调用的使用方法;
5.掌握DOS功能调用的使用方法。
二、实验要求
1.了解INT指令与CALL指令的不同点;
2.会用DEBUG观察中断向量表;
3.会用DEBUG的T命令和P命令执行INT指令;
4.会用INT 10H、INT 16H编制程序;
5.会用DOS功能调用的02H、09H功能编制程序。
-GREAT!!!
Platform: |
Size: 69632 |
Author: 星东 |
Hits:
Description: ;取当前显示方式
INT 10H
PUSH AX ;保存当前显示方式(AL)
MOV AH, 0 ;设置彩色80×25文本方式
MOV AL, 3
INT 10H
MOV CX, 1 ;一次显示一个笑脸字符及属性
MOV DH, 12H ;12行,从屏幕左边的中间开始
MOV DL, 0 ;0列
BEGIN: CMP DL, 79 ;移到79列就退出
JAE EXIT
CMP DH, 0 ;移到第0行就退出- Take the current display mode INT 10H PUSH AX to save the current display (AL) MOV AH, 0 set color 80 × 25 text mode MOV AL, 3 INT 10H MOV CX, 1 time shows a smiley face character and properties MOV DH, 12H 12 lines, from the middle of the screen on the left began to MOV DL, 0 0 Lie BEGIN: CMP DL, 79 move to 79 on the exit JAE EXIT CMP DH, 0 move to the first line of the exit 0
Platform: |
Size: 1024 |
Author: 孙炜棋 |
Hits:
Description: 绘制三角形图形程序
要求:掌握PC机显示模式的分类及特点
掌握利用汇编语言在图形方式下的编程方法
内容:编写程序.使PC机在中分辨率(模式4)显示一个三角形(各种三角形)。对于图形设计,要通过BIOS INT 10H调用,用菜单选择三角形的输出-Draw triangle graphics program requirements: PC, display mode control the classification and characteristics to master the use of assembly language programming under the graphical method of content: programming. So that PC, in the resolution (model 4) shows a triangle (all triangles) . For graphic design, to be called by BIOS INT 10H, the output of the triangle with a menu selection
Platform: |
Size: 3072 |
Author: ANTHANN |
Hits:
Description: 编写程序.使PC机显示一个三角形。对于图形设计,要通过BIOS INT 10H调用,用菜单选择三角形的输出。三角形可分割为3条直线,因此显示三角形就可分解为根据两点画直线的程序。-Programming. The PC, displays a triangle. For graphic design, to be called by BIOS INT 10H, the output of a triangle with a menu selection. Triangle can be divided into three lines, thus indicating a triangle can be decomposed into a straight line drawn under the two procedures.
Platform: |
Size: 69632 |
Author: 寒武 |
Hits:
Description: win32 汇编语言 播放歌曲的小程序 完整
STACK SEGMENT
DB 200 DUP ( STACK )
STACK ENDS
CODE SEGMENT
ASSUME DS:DATA,SS:STACK,CS:CODE
START:
MOV AX,DATA
MOV DS,AX
MOV aH, 0
MOV AL,00
INT 10H
********** 定义一个宏显示
waitf proc near
push ax
waitf1:
in al,61h
and al,10h
cmp al,ah
je waitf1
mov ah,al
loop waitf1
pop ax
ret
waitf endp
********************************************* 音乐播放
DISPLAY MACRO b
LEA DX,b
MOV AH,9
INT 21H
ENDM
**********************音乐地址宏 -win32 a small assembly language program playing a full song
STACK SEGMENT
DB 200 DUP ( STACK )
STACK ENDS
CODE SEGMENT
ASSUME DS:DATA,SS:STACK,CS:CODE
START:
MOV AX,DATA
MOV DS,AX
MOV aH, 0
MOV AL,00
INT 10H
********** waitf proc near
push ax
waitf1:
in al,61h
and al,10h
cmp al,ah
je waitf1
mov ah,al
loop waitf1
pop ax
ret
waitf endp
********************************************* DISPLAY MACRO b
LEA DX,b
MOV AH,9
INT 21H
ENDM
**********************
Platform: |
Size: 177152 |
Author: xuwenjiao |
Hits: