用易语言怎么写CE的自动汇编功能 这是汇编 100
[ENABLE]alloc(newmem,2048)//2kbshouldbeenoughlabel(returnhere)label(originalcode)labe...
[ENABLE]
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
originalcode:
mov [ecx],00000004
mov eax,[ecx]
pop esi
pop ecx
ret
exit:
jmp returnhere
00458465:
jmp newmem
returnhere:
[DISABLE]
dealloc(newmem)
00458465:
mov eax,[ecx]
pop esi
pop ecx 展开
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
originalcode:
mov [ecx],00000004
mov eax,[ecx]
pop esi
pop ecx
ret
exit:
jmp returnhere
00458465:
jmp newmem
returnhere:
[DISABLE]
dealloc(newmem)
00458465:
mov eax,[ecx]
pop esi
pop ecx 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询