mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-05 21:09:56 +00:00
34 lines
456 B
NASM
34 lines
456 B
NASM
%ifdef CONFIG
|
|
{
|
|
"Match": "All",
|
|
"RegData": {
|
|
"RAX": "0xDEADBEEFBAD0DAD1",
|
|
"RCX": "0xDEADBEEFBAD0DAD1",
|
|
"XMM0": ["0", "0xDEADBEEFBAD0DAD1"]
|
|
},
|
|
"MemoryRegions": {
|
|
"0x100000000": "4096"
|
|
}
|
|
}
|
|
%endif
|
|
|
|
; Data we want to store
|
|
mov rax, 0xDEADBEEFBAD0DAD1
|
|
|
|
; Starting address to store to
|
|
mov rdi, 0xe8000000
|
|
|
|
pxor xmm0, xmm0
|
|
pxor xmm1, xmm1
|
|
|
|
mov [rdi], rax
|
|
|
|
movhpd xmm0, [rdi]
|
|
movhpd [rdi + 8], xmm0
|
|
|
|
xor rcx, rcx
|
|
mov rcx, [rdi + 8]
|
|
|
|
hlt
|
|
|