sort - mov [num1+bx],dx mov swap,1 m xyz: add bx,2 cmp bx,6...

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

View Full Document Right Arrow Icon
.model small .data num1 dw 30,10,20 swap db 0 s .code main proc mov ax,@data mov ds,ax start: mov bx,0 mov [swap],0 m loop1: mov ax,[bx+num1] cmp ax,[num1+bx+2] jbe xyz mov dx,[num1+bx+2] mov [num1+bx+2],ax
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 [num1+bx],dx mov swap,1 m xyz: add bx,2 cmp bx,6 jne loop1 j cmp [swap],1 je start j saad: s mov ah,4ch int 21 i main endp end main...
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