t1 - mov ah,02 add bl,30h mov dl,bl int 21h i mov ah,02h...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
;ADDITION ; .model small .stack 100h .data num dw 1,2,3,4,5,6,7,8 n .code main proc mov ax,@data mov ds,ax m mov ax,0 mov bx,0 m loop1: add ax,[num+bx] add bx,2 cmp bx,16 jne loop1 j mov bl,10 div bl mov bl,al mov cl,ah m
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: mov ah,02 add bl,30h mov dl,bl int 21h i mov ah,02h mov dl,cl add dl,30h int 21h i ;mov dx,ax ;mov ah,02h ;add dl,30h ;int 21h ; mov ah,4ch int 21h i main endp end main e...
View Full Document

Ask a homework question - tutors are online