FEX/unittests/ASM/X87/DC_04.asm
2020-05-28 14:47:43 -07:00

26 lines
285 B
NASM

%ifdef CONFIG
{
"RegData": {
"MM7": ["0x8000000000000000", "0xBFFF"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
lea rdx, [rel data]
fld tword [rdx + 8 * 0]
lea rdx, [rel data2]
fsub qword [rdx + 8 * 0]
hlt
align 8
data:
dt 1.0
dq 0
data2:
dq 2.0