mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 18:00:17 +02:00
Folds reg+const memory address into addressing mode, if the constant is within 16Kb. Update instcountci files. Add test 32Bit_ASM/FEX_bugs/SubAddrBug.asm
21 lines
254 B
NASM
21 lines
254 B
NASM
%ifdef CONFIG
|
|
{
|
|
"RegData": {
|
|
"RAX": "0xdeadbeef"
|
|
},
|
|
"MemoryRegions": {
|
|
"0x10000000": "4096"
|
|
},
|
|
"MemoryData": {
|
|
"0x10000000": "0xdeadbeef"
|
|
},
|
|
"Mode": "32BIT"
|
|
}
|
|
%endif
|
|
|
|
section .text
|
|
|
|
lea eax, [0x10000040]
|
|
mov eax, [eax-0x40]
|
|
hlt
|