@@ -0,0 +1,32 @@
+global _start
+
+section .data
+%include "header.inc"
+ mov eax, 123456789
+ mov ebx, 123456789
+ mov edx, 123456789
+ cmpxchg edx, ebx
+ push eax
+ push edx
+ push ebx
+ pushf
+ and dword [esp], 8ffh
+ cmpxchg ax, bx
+ cmpxchg al, bh
+%include "footer.inc"
@@ -0,0 +1,22 @@
+ mov edx, 987654321
+ mov dword [esp], 123456789
+ mov dword [esp+4], 987654321
+ cmpxchg8b [esp]
+ push ecx