疯哥回帖真的回疯了?竟然到汇编论坛去了~~
RT.证据:[url=http://bbs.bccn.net/thread-232007-1-1.html]http://bbs.bccn.net/thread-232007-1-1.html[/url]
我是真的在学习,还请你多多指教。
你不会以为我在灌水吧。
程序代码:
.386
.model flat,stdcall ;定义程序工作模式,flat:win32程序适用的模式,
;代码和数据段适用同一个4GB段
;small:建立代码和数据分别用一个64KB段的.exe文件
option casemap:none
include windows.inc
include user32.inc
includelib user32.lib
include kernel32.inc
includelib kernel32.lib
include winmm.inc
includelib winmm.lib
.data
szSound db 'ring.wav',0
.code
start:
invoke PlaySound,addr szSound,NULL,SND_FILENAME
invoke ExitProcess,NULL
end start
