Write a Program to print average of 2 numbers.
stack segment stack ends data segment temp1 dw 2h temp2 dw 2h avg1 db 2h temp3 db ? data ends code segment assume cs:code,ds:data start: mov ax,data mov ds,ax mov ax,temp1 add ax,temp2 div avg1 mov temp3,al mov ax,4c00h int 21h code ends end start