mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 14:00:16 +02:00
When the source arguments for LoadMem/StoreMem have bit 31 set then they are incorrectly sign extending in some instances. Detected this when testing #3421 but I don't have a proper fix for it.
21 lines
298 B
NASM
21 lines
298 B
NASM
%ifdef CONFIG
|
|
{
|
|
"RegData": {
|
|
"RAX": "0x41424344"
|
|
},
|
|
"MemoryRegions": {
|
|
"0xf0000000": "4096"
|
|
},
|
|
"MemoryData": {
|
|
"0xf0000000": "0x41424344"
|
|
},
|
|
"Mode": "32BIT"
|
|
}
|
|
%endif
|
|
|
|
; Ensures that zero extension of addresses are adhered to.
|
|
lea eax, [0xf000_0000]
|
|
mov eax, [ds:eax]
|
|
|
|
hlt
|