summaryrefslogtreecommitdiff
path: root/test-suite/standalone/sassy/tests/cmpx.asm
blob: 71f733a06a71386ea70a8142e4a2f109f0c0f5cd (plain)
1
2
3
4
5
6
7
8
9
BITS 32
section .text
foo:
cmpxchg al, bh
xadd [eax], bh
cmpxchg ax, bx
xadd [eax], bx
cmpxchg eax, ebx
xadd [eax], ebx