1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2025-01-07 22:00:54 +00:00
bddisasm/bdshemu_test/x86/basic/test_64_cmpxchg01.asm

26 lines
429 B
NASM
Raw Normal View History

bits 64
global _start
section .text
_start:
nop
mov eax, 0x11111111
mov ecx, 0x22222222
mov edx, 0x33333333
cmpxchg edx, ecx
nop
mov eax, 0x11111111
mov ecx, 0x22222222
mov edx, 0x00000000
cmpxchg edx, ecx
nop
mov eax, 0x11111111
mov ecx, 0x22222222
mov edx, 0x11111111
cmpxchg edx, ecx
int3