;------------------------------------------------------------------------------------------------------------------------------------ midrr proc near start10:push ax push dx cmp byte ptr[si+2],0 jz exit3 push si mov si,offset binary add si,cx add cx,3 call midr pop si exit3: sub si,3 pop dx pop ax ret midrr endp ;---------------------------------------------------------------------------------------------------------------------------------------- lastr proc near start11:push ax push dx call lastrl call lastrr mov ax,0200h mov dl,[si] int 21h sub si,3 pop dx pop ax ret lastr endp ;------------------------------------------------------------------------------------------------------------------------------------------- lastrl proc near start12:push ax push dx cmp byte ptr[si+1],0 jz exit4 push si mov si,offset binary add si,cx add cx,3 call lastr pop si exit4: pop dx pop ax ret lastrl endp ;-------------------------------------------------------------------------------------------------------------------------------------------- lastrr proc near start13:push ax push dx cmp byte ptr[si+2],0 jz exit5 push si mov si,offset binary add si,cx add cx,3 call lastr pop si exit5: pop dx pop ax ret lastrr endp end main

评论