1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2025-01-06 13:21:00 +00:00
bddisasm/bdshemu_test/x86/basic/test_64_cmpxchg01.asm
2024-09-16 12:47:03 +03:00

26 lines
429 B
NASM

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