Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %macro PEEK_ 2
- %define ARG1 .%1
- %define ARG2 .%2
- mov rax, qword [ARG1 + rbx]
- mov cl, byte [rax]
- mov byte [ARG2 + rbx], cl
- %endmacro
- %macro POKE_ 2
- %define ARG1 .%1
- %define ARG2 .%2
- mov cl, byte [ARG2 + rbx]
- mov rax, [ARG1 + rbx]
- mov byte [rax + rbx], cl
- %endmacro
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement