文件名称:masm
介绍说明--下载内容均来自于网络,请自行研究使用
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
**********************
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
**********************
相关搜索: mov
(系统自动生成,下载前可以参看下载内容)
下载文件列表
masm\CREF.EXE
....\ERROUT.EXE
....\EXEMOD.EXE
....\EXEPACK.EXE
....\LIB.EXE
....\LINK.EXE
....\MAKE.EXE
....\MAKE.PIF
....\MASM.EXE
....\music.asm
....\MUSIC.EXE
....\MUSIC.OBJ
....\OBJ.EXE
....\SETENV.EXE
masm
....\ERROUT.EXE
....\EXEMOD.EXE
....\EXEPACK.EXE
....\LIB.EXE
....\LINK.EXE
....\MAKE.EXE
....\MAKE.PIF
....\MASM.EXE
....\music.asm
....\MUSIC.EXE
....\MUSIC.OBJ
....\OBJ.EXE
....\SETENV.EXE
masm