data segment
msg db 'Hello World','$'
data ends
code segment
assume ds:data,cs:code
main proc far
mov ax,data
mov ds,ax
lea dx,msg
mov ah,9
int 21h
mov ax,4c00h
int 21h
main endp
code ends
end main作者: zhangk04 时间: 2011-3-27 21:31:33
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Msgbox("Hello, World")
End Sub
End Class