Skip to content

Instantly share code, notes, and snippets.

@yanhaijing
Created April 12, 2013 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yanhaijing/5372583 to your computer and use it in GitHub Desktop.
Save yanhaijing/5372583 to your computer and use it in GitHub Desktop.
包含库实验
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