You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bddisasm/bdshemu_test/basic/test_64_flags3.asm

74 lines
1.2 KiB

bits 64
xor eax, eax
mov eax, 0xAA
mov cl, 0
shr eax, cl
shl eax, cl
sar eax, cl
mov eax, 0xAA
mov cl, 255
shr eax, cl
mov eax, 0xAA
mov cl, 255
sar eax, cl
mov eax, 0xAA
mov cl, 255
shl eax, cl
xor eax, eax
mov eax, 0x0
mov cl, 1
shr eax, cl
mov eax, 0x1
shr eax, cl
mov eax, 0xff
shr eax, cl
mov eax, 0x0
mov cl, 2
shr eax, cl
mov eax, 0x1
shr eax, cl
mov eax, 0xff
shr eax, cl
mov eax, 0x0
mov cl, 1
sar eax, cl
mov eax, 0x1
sar eax, cl
mov eax, 0xff
sar eax, cl
mov eax, 0x0
mov cl, 2
sar eax, cl
mov eax, 0x1
sar eax, cl
mov eax, 0xff
sar eax, cl
mov eax, 0x0
mov cl, 1
shl eax, cl
mov eax, 0x80
shl eax, cl
mov eax, 0xff
shl eax, cl
mov eax, 0x0
mov cl, 2
shl eax, cl
mov eax, 0x80
shl eax, cl
mov eax, 0xff
shl eax, cl
retn