.model small .stack 100h .data msg db 'Hello, World!$' .code main proc mov ax, @data ; Initialize data segment mov ds, ax lea dx, msg ; Load address of the message mov ah, 9 ; Function to display string int 21h ; Call DOS interrupt mov ax, 4c00h ; Exit program int 21h main endp end main