1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-25 17:08:35 +00:00
bddisasm/bdshemu_test/basic/test_64_flags.asm
Andrei Vlad LUTAS 698ba367a1 Initial commit.
2020-07-21 11:19:18 +03:00

41 lines
695 B
NASM

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