Created
April 12, 2013 14:47
-
-
Save yanhaijing/5372557 to your computer and use it in GitHub Desktop.
第一个汇编程序
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;lt301a.asm | |
.model small | |
.stack | |
.data | |
string db 'Hello, Everybody !',0dh,0ah,'$' | |
.code | |
start: mov ax,@data | |
mov ds,ax | |
mov dx,offset string | |
mov ah,9 | |
int 21h | |
mov ax,4c00h | |
int 21h | |
end start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment