硬盘分区信息显示汇编语言 第6页
push ax
push bx
push cx
push dx
mov ax,es:[bx+dpt+0eh]
mov cl,4
shr ax,cl
mov dx,512
mul dx
mov bx,ax
mov ch,4
call rotate
pop dx
pop cx
pop bx
pop ax
ret
Prtsize ENDP
;-----------------------------
Crlf PROC NEAR
push ax
push dx
mov dl,0dh
mov ah,2
int 21h
mov dl,0ah
mov ah,2
int 21h
pop dx
pop ax
ret
Crlf ENDP
;-----------------------------
Spa PROC NEAR
push ax
push dx
mov dl,20h
mov ah,2
int 21h
pop dx
pop ax
ret
Spa ENDP
;-----------------------------
Rotate PROC NEAR
mov cl,4
rol bx,cl
mov al,bl
and al,0fh
add al,30h
cmp al,3ah
jl printit
add al,7h
printit:
mov dl,al
mov ah,2
int 21h
dec ch
jnz rotate
ret
Rotate ENDP
;------------------------------
CSeg ENDS
END Main
上一页 [1] [2] [3] [4] [5] [6]
硬盘分区信息显示汇编语言 第6页下载如图片无法显示或论文不完整,请联系qq752018766