mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-08 06:30:42 +00:00
f2c1feb61b
These were causing problems, might as well as make a unit test.
33 lines
441 B
NASM
33 lines
441 B
NASM
%ifdef CONFIG
|
|
{
|
|
"Match": "All",
|
|
"RegData": {
|
|
"RAX": "0xDEADBEEFBAD0DAD1"
|
|
},
|
|
|
|
"MemoryRegions": {
|
|
"0x100000000": "4096"
|
|
}
|
|
}
|
|
%endif
|
|
|
|
; Starting address to store to
|
|
mov rdi, 0xe8000000
|
|
; Store value
|
|
mov rax, 0xDEADBEEFBAD0DAD1
|
|
mov [rdi], rax
|
|
|
|
; Set counter to zero
|
|
mov ecx, 0
|
|
; Set store value to zero
|
|
mov rax, 0
|
|
|
|
rep STOSQ
|
|
|
|
; Reload what we just stored
|
|
; Ensure that STOSQ didn't write
|
|
mov rdi, 0xe8000000
|
|
mov rax, [rdi]
|
|
|
|
hlt
|