rc - cmp bx,6 jne l1 j mov dl,[total] m mov ah,02h add...

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

View Full Document Right Arrow Icon
.model small . .data num1 dw 2,1,4 total db 0 t .code main proc mov ax,@data mov ds,ax mov ax,0 mov bx,0 m l1: mov ax,[num1+bx] add [total],ax add bx,2
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: cmp bx,6 jne l1 j mov dl,[total] m mov ah,02h add dl,30h int 21h i mov ah,4ch int 21h main endp end main e...
View Full Document

This note was uploaded on 11/06/2010 for the course UBIT 411 taught by Professor Saleemelahi during the Spring '10 term at University of Karachi.

Ask a homework question - tutors are online