.model small
.stack 100h
.data
a dw 2
b dw 2
.code
main proc
mov ax,@data
mov ds,ax
mov ax,a
add ax,b
mov dx,ax
mov ah,02h
add dl,30h
int 21h
mov ax,4c00h
int 21h
main endp
end main
.stack 100h
.data
a dw 2
b dw 2
.code
main proc
mov ax,@data
mov ds,ax
mov ax,a
add ax,b
mov dx,ax
mov ah,02h
add dl,30h
int 21h
mov ax,4c00h
int 21h
main endp
end main
Comments
Post a Comment