2020-03-07 21:54:25 -08:00

24 lines
315 B
NASM

%ifdef CONFIG
{
"RegData": {
"RAX": "0x4142434445462348"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4142434445464748
mov [rdx + 8 * 0], rax
mov rax, 0x5152535455565758
mov [rdx + 8 * 1], rax
shr byte [rdx + 8 * 0 + 1], 0x61
mov rax, [rdx + 8 * 0]
hlt