mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-10 07:41:41 +00:00
8931ddc382
These are exactly the same except using the other prefix. Hardware tests confirm that this behave the same
34 lines
478 B
NASM
34 lines
478 B
NASM
%ifdef CONFIG
|
|
{
|
|
"RegData": {
|
|
"RAX": "0x41424344",
|
|
"RSI": "0xE0000000"
|
|
},
|
|
"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
|
|
mov rax, 0x7172737475767778
|
|
mov [rdx + 8 * 3], rax
|
|
mov rax, 0x0
|
|
mov [rdx + 8 * 4], rax
|
|
|
|
lea rsi, [rdx + 8 * 4]
|
|
|
|
std
|
|
mov rax, 0xFF
|
|
mov rcx, 8
|
|
repne lodsd
|
|
|
|
hlt
|