PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/a/assembler_intel.asm

http://github.com/AdamHarte/hello-world
Assembly | 24 lines | 15 code | 7 blank | 2 comment | 0 complexity | 593059f1f5ddadb5017e9928dd86312d MD5 | raw file
 1; hello_world.asm intel 
 2
 3.model small
 4
 5.stack 100h
 6
 7.data
 8msg db "Hello World!",'$'
 9
10.code
11main proc
12        mov ax,@data
13        mov ds, ax
14
15; hello-world is there 
16        mov dx,offset msg
17        mov ah,09
18        int 21h
19
20        mov ax,4c00h
21        int 21h
22
23main endp
24end main