>汇编<
DT2131
Rage, rage against the dying of the light.Do not go gentle into that good night.
展开
-
【汇编】 十以内选择排序
简便写法,需要超过十的改改就行.model.data arr db 9,5,6,7,2,3,4,1 a db 8.code start: mov ax,@data mov ds,ax mov ax,offset a mov si,offset arrL1: cmp ax,si jz exit mov cx,si mov di,cx inc diL2: cmp原创 2016-11-26 07:53:23 · 492 阅读 · 0 评论 -
【汇编】十以内冒泡排序
主要是输出的问题,需要超过十的改改就行.model.data arr db 2,1,4,5,6 a db 0.codestart: mov ax,@data mov ds,ax mov ax,offset arr mov bx,offset aL1: cmp ax,bx jz exit mov si,ax mov di,ax inc diL2: cmp bx,原创 2016-11-26 08:35:47 · 448 阅读 · 0 评论