Skip to content

Instantly share code, notes, and snippets.

@yanhaijing
Created April 12, 2013 14:47
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/5372557 to your computer and use it in GitHub Desktop.
Save yanhaijing/5372557 to your computer and use it in GitHub Desktop.
第一个汇编程序
;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