mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-07 14:10:23 +00:00
22 lines
323 B
NASM
22 lines
323 B
NASM
%ifdef CONFIG
|
|
{
|
|
"RegData": {
|
|
"MM7": ["0x8000000000000000", "0x4000"]
|
|
},
|
|
"MemoryRegions": {
|
|
"0x100000000": "4096"
|
|
}
|
|
}
|
|
%endif
|
|
|
|
mov rdx, 0xe0000000
|
|
|
|
mov rax, 0x3ff0000000000000 ; 1.0
|
|
mov [rdx + 8 * 0], rax
|
|
mov rax, 0x40000000 ; 2.0
|
|
mov [rdx + 8 * 1], rax
|
|
|
|
fld qword [rdx + 8 * 0]
|
|
fmul dword [rdx + 8 * 1]
|
|
hlt
|