data segment
N db "hello,world.", 0dh,0ah,"$"
data ends
code segment
assume cs:code,ds:data
start:
mov ax,data
mov ds,ax
lea dx,N
mov ah,09h
int 21h
mov ah,4ch
int 21h
code ends
end start
data segment
N db "hello,world.", 0dh,0ah,"$"
data ends
code segment
assume cs:code,ds:data
start:
mov ax,data
mov ds,ax
lea dx,N
mov ah,09h
int 21h
mov ah,4ch
int 21h
code ends
end start