Add Assembler Code

This commit is contained in:
AYIDouble 2018-09-12 10:54:09 +02:00
parent df7db2f904
commit 9dd514459d

View file

@ -0,0 +1,24 @@
; 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