FEX/unittests/ASM/Primary/Primary_AD_word.asm

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
421 B
NASM
Raw Normal View History

2020-05-30 06:37:27 +00:00
%ifdef CONFIG
{
"RegData": {
"RAX": "0x5152",
"RSI": "0xE0000010"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4142434445464748
mov [rdx + 8 * 0], rax
mov rax, 0x5152535455565758
mov [rdx + 8 * 1], rax
mov rax, 0x0
mov [rdx + 8 * 2], rax
mov [rdx + 8 * 3], rax
lea rsi, [rdx + 8 * 0]
cld
mov rax, 0xFF
lodsw
lodsw
lodsw
lodsw
lodsw
lodsw
lodsw
lodsw
hlt