汇编 源程序 hello world ;本程序实现了无限制输出字符--即 不用关心字符的长度 而进行输出 assume cs:dama,ds:shuju,ss:zhan shuju segment db 40 dup (0h) shuju ends zhan segment db "I'm a boy! but you are a girl! haha,it'great!" db 0h zhan ends substack segment db 40 dup (0h) substack end
Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long) Private Declare Function GetCursorPos Lib "user32" (lpPoint As pointapi) As Long Private Decl
简易计算器 show1 macro mov dl,13 mov ah,2 int 21h mov dl,10 mov ah,2 int 21h endm stack segment stack dw 1024 dup(?) stack ends data segment str01 db 0dh,0ah,'***********menu!****************$' str02 db 0dh,0ah,'**THIS IS A CACULATE PROGRAM!**$' str03 db