mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-07 14:10:23 +00:00
8931ddc382
These are exactly the same except using the other prefix. Hardware tests confirm that this behave the same
34 lines
491 B
NASM
34 lines
491 B
NASM
%ifdef CONFIG
|
|
{
|
|
"RegData": {
|
|
"RAX": "0xF1F2F1F2F1F2F1F2",
|
|
"RDX": "0x0",
|
|
"RDI": "0xE000000E"
|
|
},
|
|
"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, 0x0
|
|
mov [rdx + 8 * 2], rax
|
|
mov [rdx + 8 * 3], rax
|
|
|
|
lea rdi, [rdx + 8 * 2 + 6]
|
|
|
|
std
|
|
mov rcx, 0x4
|
|
mov rax, 0xF1F2
|
|
repne stosw ; rdi <- ax
|
|
|
|
mov rax, [rdx + 8 * 2]
|
|
mov rdx, [rdx + 8 * 3]
|
|
hlt
|