1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-29 19:08:06 +00:00
bddisasm/bdshemu_test/basic/test_64_flags.asm

41 lines
695 B
NASM
Raw Normal View History

2020-07-21 08:19:18 +00:00
bits 64
xor eax, eax
mov eax, 0xFFFFFFFF
add eax, 1
xor eax, eax
mov eax, 0xFFFFFFFF
add eax, 1
adc eax, 0
xor eax, eax
sub eax, 1
sbb eax, 0
xor eax, eax
mov eax, 0xBDBDBDBD
rol eax, 16
xor eax, eax
mov eax, 0xBDBDBDBD
ror eax, 24
xor eax, eax
mov eax, 0xBDBDBDBD
rcl eax, 24
xor eax, eax
mov eax, 0xBDBDBDBD
rcr eax, 24
xor eax, eax
mov eax, 0xBDBDBDBD
shl eax, 24
xor eax, eax
mov eax, 0xBDBDBDBD
shr eax, 24
retn