File size: 432 Bytes
8df6da4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
    push eax
    push edx
    push ebx
    pushf
    and dword [esp], 8ffh

    cmpxchg al, bh
    push eax
    push edx
    push ebx
    pushf
    and dword [esp], 8ffh

%include "footer.inc"