硬盘分区信息显示汇编语言 第5页
pop ax
RET
Init ENDP
;-----------------------------------
Exit PROC NEAR
CALL crlf
LEA DX, QuitTip
MOV AH, 9
INT 21h
MOV AH, 4ch
INT 21H
Exit ENDP
;-----------------------------------
Prthead PROC NEAR
push ax
push dx
lea dx,TabHead
mov ah,9h
int 21h
pop dx
pop ax
ret
Prthead ENDP
;-----------------------------------
Prtparti PROC NEAR
push ax
push dx
push bx
lea bx,parti
inc di
mov [bx],di
mov dl,[bx]
mov ah,2
int 21h
pop bx
pop dx
pop ax
ret
Prtparti ENDP
;----------------------------------
Prtboot PROC NEAR
push bx
mov ch,2
mov bx,es:[dpt-1]
call rotate
pop bx
ret
Prtboot ENDP
;--------------------------------
Getsys PROC NEAR
push ax
mov al,es:[bx+dpt+4]
cmp al,04h
je prtfat16
cmp al,0bh
je prtfat32
cmp al,1bh
je prtfat32
cmp al,0ch
je prtfat32
cmp al,1ch
je prtfat32
cmp al,07h
je prtntfs
CALL EXIT ;cannt recognize
prtfat16:
push dx
lea dx,fat16
mov ah,9h
int 21h
pop dx
pop ax
ret
prtfat32:
push dx
lea dx,fat32
mov ah,9h
int 21h
pop dx
pop ax
ret
prtntfs:
push dx
lea dx,ntfs
mov ah,9h
int 21h
pop dx
pop ax
ret
Getsys ENDP
;------------------------------------
Prtstartc PROC NEAR
push ax
push bx
push cx
push di
add bx,dpt
mov di,bx
mov ch,4
mov cl,6
mov bh,es:[di+2]
shr bh,6
mov bl,es:[di+3]
call rotate
pop di
pop cx
pop bx
pop ax
ret
Prtstartc ENDP
;------------------------------------
Prtendc PROC NEAR
push ax
push bx
push cx
push di
add bx,dpt
mov di,bx
mov ch,4
mov cl,6
mov bh,es:[di+6]
shr bh,cl
mov bl,es:[di+7]
call rotate
pop di
pop cx
pop bx
pop ax
ret
Prtendc ENDP
;------------------------------------
Prtsize PROC NEAR
上一页 [1] [2] [3] [4] [5] [6] 下一页
硬盘分区信息显示汇编语言 第5页下载如图片无法显示或论文不完整,请联系qq752018766