mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-09 15:22:04 +00:00
32 lines
538 B
NASM
32 lines
538 B
NASM
|
%ifdef CONFIG
|
||
|
{
|
||
|
"RegData": {
|
||
|
"RAX": "0x4142434422A34748",
|
||
|
"RBX": "0x515253542AAB2BAC",
|
||
|
"RCX": "0x30B131B232B333B4"
|
||
|
},
|
||
|
"MemoryRegions": {
|
||
|
"0x100000000": "4096"
|
||
|
}
|
||
|
}
|
||
|
%endif
|
||
|
|
||
|
mov rdx, 0xe0000000
|
||
|
|
||
|
mov rax, 0x4142434445464748
|
||
|
mov [rdx + 8 * 0], rax
|
||
|
mov rax, 0x5152535455565758
|
||
|
mov [rdx + 8 * 1], rax
|
||
|
mov rax, 0x6162636465666768
|
||
|
mov [rdx + 8 * 2], rax
|
||
|
|
||
|
ror word [rdx + 8 * 0 + 2], 1
|
||
|
ror dword [rdx + 8 * 1 + 0], 1
|
||
|
ror qword [rdx + 8 * 2 + 0], 1
|
||
|
|
||
|
mov rax, [rdx + 8 * 0]
|
||
|
mov rbx, [rdx + 8 * 1]
|
||
|
mov rcx, [rdx + 8 * 2]
|
||
|
|
||
|
hlt
|