mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-10 07:41:41 +00:00
32 lines
379 B
NASM
32 lines
379 B
NASM
%ifdef CONFIG
|
|
{
|
|
"RegData": {
|
|
"RCX": "1",
|
|
"RDI": "0xE0000007"
|
|
},
|
|
"MemoryRegions": {
|
|
"0x100000000": "4096"
|
|
}
|
|
}
|
|
%endif
|
|
|
|
mov rdx, 0xe0000000
|
|
|
|
mov rax, 0x4161434445464748
|
|
mov [rdx + 8 * 0], rax
|
|
mov rax, 0x5152535455565758
|
|
mov [rdx + 8 * 1], rax
|
|
mov rax, 0x0
|
|
mov [rdx + 8 * 2], rax
|
|
|
|
lea rdi, [rdx + 8 * 0]
|
|
|
|
cld
|
|
mov rax, 0x61
|
|
mov rcx, 8
|
|
cmp rax, 0
|
|
|
|
repne scasb
|
|
|
|
hlt
|