Created
April 12, 2013 14:51
-
-
Save yanhaijing/5372583 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
include stdio.mac | |
.model samll | |
.stack | |
.data | |
string db 'yanhaijing','$' | |
.code | |
start: mov ax,@data | |
mov ds,ax;程序开始 | |
putchar 'a' | |
puts string | |
getchar | |
mov ax,4c00h;返回dos | |
int 21h | |
end start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment