Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can running x86 code inside 64-bits process? #18

Open
mldonkey opened this issue Mar 29, 2020 · 1 comment
Open

how can running x86 code inside 64-bits process? #18

mldonkey opened this issue Mar 29, 2020 · 1 comment

Comments

@mldonkey
Copy link

how to use this macro?can you give a sample?
`X86_Start MACRO
LOCAL xx, rt
call $+5
xx equ $
mov dword ptr [rsp + 4], 23h
add dword ptr [rsp], rt - xx
retf
rt:
ENDM

X86_End MACRO
db 6Ah, 33h ; push 33h
db 0E8h, 0, 0, 0, 0 ; call $+5
db 83h, 4, 24h, 5 ; add dword ptr [esp], 5
db 0CBh ; retf
ENDM`

@Mecanik
Copy link

Mecanik commented Apr 2, 2020

That is a good question, an example for the less experienced would be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants