Created
October 28, 2011 23:11
-
-
Save iamgreaser/1323813 to your computer and use it in GitHub Desktop.
My First Assembly Program
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
; nasm hello.asm -o hello.com | |
; dosbox hello.com | |
bits 16 | |
org 0x0100 | |
mov ah,0x09 | |
mov dx,str_hello | |
int 0x21 | |
int 0x20 | |
str_hello: db "Hello World!", 13, 10, "$" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment