FEX/unittests/ASM/Primary/Primary_6A.asm
Ryan Houdek ee410cf1be Implements Primary table unit tests
Not full coverage, skips the string ops and doesn't confirm that flag
setting is correct. Those are forthcoming
2020-03-09 18:15:43 -07:00

20 lines
229 B
NASM

%ifdef CONFIG
{
"RegData": {
"RAX": "0xFFFFFFFFFFFFFF81",
"RSP": "0xE0000018"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rsp, 0xe0000020
push -127
mov rdx, 0xe0000020
mov rax, [rdx - 8]
hlt