sseg segment para stack 'stack' ;stack indicates this is stack space
dw 100 dup (?) &nbs
p;
;'stack' class name indicates combine with
sseg ends
;other stack segs
data segment
hello db 'hello$'
data ends
code segment
assume cs:code,ds:data ;note assume directive
points regs where they
main proc near
;
belong
mov ax,data
mov ds,ax
mov ah,9
mov dx,offset hello
int 21h
mov ah,4ch
mov al,0
int 21h
main endp
code ends
end main