You are on page 1of 1

PROGRAM 1 1. HELLO WORLD PROGRAM .model small .data t db 'Hello world',10,13,'$' .

code mov ax,@data mov ds,ax lea dx,t mov ah,09h int 21h mov ah,4ch int 21h end 2. program to add two numbers .model small .data n1 db 10h n2 db 5h sum db ? .code mov ax,@data mov ds,ax mov al,n1 add al,n2 mov sum, al mov ah,4ch int 21h end

You might also like