summaryrefslogtreecommitdiff
path: root/test-suite/standalone/sassy/tests/cmpx16.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/standalone/sassy/tests/cmpx16.asm')
-rw-r--r--test-suite/standalone/sassy/tests/cmpx16.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/standalone/sassy/tests/cmpx16.asm b/test-suite/standalone/sassy/tests/cmpx16.asm
new file mode 100644
index 000000000..a654eb57b
--- /dev/null
+++ b/test-suite/standalone/sassy/tests/cmpx16.asm
@@ -0,0 +1,9 @@
+BITS 16
+section .text
+foo:
+cmpxchg al, bh
+xadd [eax], bh
+cmpxchg ax, bx
+xadd [eax], bx
+cmpxchg eax, ebx
+xadd [eax], ebx