added Intel assembler

This commit is contained in:
Harvey
2008-08-01 23:27:07 +01:00
parent 97a0c1c091
commit be73571a84

24
a/assembler_intel.asm Normal file
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