Created
August 29, 2015 03:22
-
-
Save Dascr32/e304d77c24702f81ba4a to your computer and use it in GitHub Desktop.
Hello World in 8086 assembly.
This file contains hidden or 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
org 100h | |
jmp start | |
message db "Hello World$" ; Allocate 1 byte | |
start: | |
mov dx, offset message | |
mov ah,9h ; Print function | |
int 21h | |
exit: | |
mov ah,4ch | |
mov al,00 | |
int 21h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment