This preview shows page 1. Sign up to view the full content.
Unformatted text preview: mov [data+bx+2], ax store first number in second mov [data+bx], dx store second number in first mov byte [swap], 1 flag that a swap has been done noswap: add bx, 2 advance bx to next index cmp bx, 18 are we at last index jne loop1 if not compare next two cmp byte [swap], 1 check if a swap has been done je bsort if yes make another pass 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