FEX/unittests/ASM/PrimaryGroup/2_D1_03_5.asm

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

43 lines
592 B
NASM
Raw Normal View History

2020-09-13 17:33:59 -07:00
%ifdef CONFIG
{
"RegData": {
"RBX": "0x80000000",
"RCX": "0x00000000",
"RDX": "0xC0000000",
"RSI": "0x40000000",
"R8": "0x1",
"R9": "0x0",
"R10": "0x0",
"R11": "0x1"
}
}
%endif
mov rbx, 0x00000001
mov rcx, 0x00000001
mov rdx, 0x80000000
mov rsi, 0x80000000
mov r15, 1
stc
rcr ebx, 1
mov r8, 0
cmovo r8, r15 ; We only care about OF here
clc
rcr ecx, 1
mov r9, 0
cmovo r9, r15 ; We only care about OF here
stc
rcr edx, 1
mov r10, 0
cmovo r10, r15 ; We only care about OF here
clc
rcr esi, 1
mov r11, 0
cmovo r11, r15 ; We only care about OF here
hlt