多个数比较大小
摘要:
data segmentbuffer db 2,8,9,5,4,0data endscode segmentassume cs:code,ds:datamain:mov ax,datamov ds,axmov si, offset buffermov al,[si]again:or al,aljz okmov bl,[si]or bl,bljz ok inc si cmp al, bl jnc next xchg al,blnext: jmp againok: add al,30hmov dl, al;显示 mov ah, 2 int 21hmov ah,4Ch;终止当前程序并返回调用程序in 阅读全文