WEB开发网
开发学院软件开发汇编语言 汇编源代码之硬盘保护锁 阅读

汇编源代码之硬盘保护锁

 2009-01-28 09:37:08 来源:WEB开发网   
核心提示:MOV AH,4CHINT 21HOVERFLOW:MOV DH,10HMOV AH,02HMOV DL,23HMOV BH,00HINT 10HMOV AH,09HMOV AL,00HMOV BL,07HMOV CX,0009HINT 10HJMP GETPWBACKSPACE:PUSH CXMOV AH,03HMO

MOV AH,4CH

INT 21H

OVERFLOW:

MOV DH,10H

MOV AH,02H

MOV DL,23H

MOV BH,00H

INT 10H

MOV AH,09H

MOV AL,00H

MOV BL,07H

MOV CX,0009H

INT 10H

JMP GETPW

BACKSPACE:

PUSH CX

MOV AH,03H

MOV BH,00H

INT 10H


  POP CX

CMP DL,23H

JE READKEY

CMP DI,0F1AFH;

JE READKEY

PUSH CX

MOV AH,02H

DEC DL

INT 10H

POP CX

PUSH CX

MOV AH,0EH

MOV AL,00H

MOV BL,07H

INT 10H

POP CX

MOV AX,0000H

MOV [DI],AX

DEC DI

MOV [DI],AX

CMP CX,09H

JE AJUMP

INC CX

JMP AJUMP

AJUMP:

JMP READKEY

PWENTER ENDP

CODE ENDS

END START

该程序用来将HDLOCK.DAT文件写到MBR区,有兴趣的朋友可以试试。

上一页  1 2 3 4 5 6 

Tags:汇编 源代码 硬盘

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接