1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-27 01:48:10 +00:00
bddisasm/bdshemu_test/x86/basic/test_64_popcnt01.asm

53 lines
1.1 KiB
NASM
Raw Normal View History

bits 64
global _start
section .text
_start:
nop
mov rcx, 0xFFFFFFFFFFFFFFFF
mov rax, 0x0000000000000000
popcnt cx, ax
nop
mov rcx, 0xFFFFFFFFFFFFFFFF
mov rax, 0x0000000000000000
popcnt ecx, eax
nop
mov rcx, 0xFFFFFFFFFFFFFFFF
mov rax, 0x0000000000000000
popcnt rcx, rax
nop
mov rcx, 0xFFFFFFFFFFFFFFFF
mov rax, 0x8000000000000000
popcnt cx, ax
nop
mov rcx, 0xFFFFFFFFFFFFFFFF
mov rax, 0x8000000000000000
popcnt ecx, eax
nop
mov rcx, 0xFFFFFFFFFFFFFFFF
mov rax, 0x8000000000000000
popcnt rcx, rax
nop
mov rcx, 0xFFFFFFFFFFFFFFFF
mov rax, 0xFFFFFFFFFFFFFFFF
popcnt cx, ax
nop
mov rcx, 0xFFFFFFFFFFFFFFFF
mov rax, 0xFFFFFFFFFFFFFFFF
popcnt ecx, eax
nop
mov rcx, 0xFFFFFFFFFFFFFFFF
mov rax, 0xFFFFFFFFFFFFFFFF
popcnt rcx, rax
int3