mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 06:00:41 +02:00
Not full coverage, skips the string ops and doesn't confirm that flag setting is correct. Those are forthcoming
26 lines
296 B
NASM
26 lines
296 B
NASM
%ifdef CONFIG
|
|
{
|
|
"RegData": {
|
|
"RDI": "0xE0000007"
|
|
},
|
|
"MemoryRegions": {
|
|
"0x100000000": "4096"
|
|
}
|
|
}
|
|
%endif
|
|
|
|
mov rdx, 0xe0000000
|
|
|
|
mov rax, 0x4142434445464748
|
|
mov [rdx + 8 * 0], rax
|
|
mov rax, 0x5152535455565758
|
|
mov [rdx + 8 * 1], rax
|
|
|
|
lea rdi, [rdx + 8 * 1]
|
|
|
|
mov al, 0x0
|
|
std
|
|
scasb
|
|
|
|
hlt
|