GitHub_collection_hello-world/a/assembler_intel.asm
Robert Peters 7f878aa890 Revert "github generated gh-pages branch"
This reverts commit 97e0e510b5166dc43f2f33594efebb05b4f9e4a4.
2011-03-13 20:36:14 +01:00

25 lines
285 B
NASM

; hello_world.asm intel
.model small
.stack 100h
.data
msg db "Hello World!",'$'
.code
main proc
mov ax,@data
mov ds, ax
; hello-world is there
mov dx,offset msg
mov ah,09
int 21h
mov ax,4c00h
int 21h
main endp
end main