25 lines
325 B
NASM
25 lines
325 B
NASM
; 因为换成了ELF,无法使用
|
||
|
||
GLOBAL main
|
||
|
||
main:
|
||
MOV AX, 1005 * 8
|
||
MOV DX, AX
|
||
CMP DWORD [DS:0x0004], 'Hari'
|
||
|
||
JNE fin
|
||
|
||
MOV ECX, [DS:0x0000]
|
||
MOV AX, 2005 * 8
|
||
MOV DS, AX
|
||
|
||
crackloop:
|
||
ADD ECX, -1
|
||
MOV BYTE [DS:ECX], 123
|
||
CMP ECX, 0
|
||
JNE crackloop
|
||
|
||
fin:
|
||
MOV EDX, 4
|
||
INT 0x40
|