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

36 lines
420 B
NASM

%ifdef CONFIG
{
"RegData": {
"MM6": ["0x8000000000000000", "0x4001"],
"MM7": ["0xC000000000000000", "0x4000"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
lea rdx, [rel data]
fld tword [rdx + 8 * 0]
lea rdx, [rel data2]
fld tword [rdx + 8 * 0]
faddp st1, st0
lea rdx, [rel data3]
fld tword [rdx + 8 * 0]
hlt
align 8
data:
dt 2.0
dq 0
data2:
dt 1.0
dq 0
data3:
dt 4.0
dq 0