Created assembler_tasm_dos.asm
Tested with Turbo Assembler in DosBox (default settings).
This commit is contained in:
20
a/assembler_tasm_dos.asm
Normal file
20
a/assembler_tasm_dos.asm
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
IDEAL
|
||||||
|
MODEL SMALL
|
||||||
|
STACK 100h
|
||||||
|
|
||||||
|
DATASEG
|
||||||
|
msg db "Hello World!", 0dh, 0ah, "$"
|
||||||
|
|
||||||
|
CODESEG
|
||||||
|
start:
|
||||||
|
mov ax, @data
|
||||||
|
mov ds, ax
|
||||||
|
|
||||||
|
mov dx, offset msg
|
||||||
|
mov ah, 9
|
||||||
|
int 21h
|
||||||
|
|
||||||
|
mov ah, 4ch
|
||||||
|
int 21h
|
||||||
|
|
||||||
|
end start
|
||||||
Reference in New Issue
Block a user