FEX/unittests/ASM/mul.asm
2020-03-06 09:08:13 +02:00

18 lines
174 B
NASM

%ifdef CONFIG
{
"Match": "All",
"RegData": {
"RAX": "0xFFFFFFFFFFFFFFFE",
"RDX": "1",
"RBX": "1"
}
}
%endif
mov rax, -1
mov rdx, 0
mov rbx, 1
mul rbx
hlt