Files
FEX-Emu--FEX/unittests/32Bit_ASM/FEX_bugs/SubAddrBug.asm
T
Paulo Matos a86f2d3e2c Improve 32bit constant usage in memory addressing
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
2024-03-05 14:01:32 +00:00

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