This preview shows page 1. Sign up to view the full content.
Unformatted text preview: l1:add ax, [num1+bx] add number to ax add bx, 2 advance bx to next index cmp bx, 20 are we beyond the last index jne l1 if not add next number mov [total], ax write back sum in memory mov ax, 0x4c00 terminate program int 0x21...
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.
- Spring '10