summaryrefslogtreecommitdiff
path: root/test-suite/standalone/sassy/tests/prims16/16inv3.scm
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/standalone/sassy/tests/prims16/16inv3.scm')
-rw-r--r--test-suite/standalone/sassy/tests/prims16/16inv3.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/test-suite/standalone/sassy/tests/prims16/16inv3.scm b/test-suite/standalone/sassy/tests/prims16/16inv3.scm
new file mode 100644
index 000000000..d3f38fe0c
--- /dev/null
+++ b/test-suite/standalone/sassy/tests/prims16/16inv3.scm
@@ -0,0 +1,21 @@
+(bits 16)
+
+(text
+ (alt (if (inv (seq (nop)
+ z!
+ (inv (nop))
+ ge!))
+ (inv (nop))
+ (nop))
+ (nop)))
+
+; 00000000 90 nop
+; 00000001 7505 jnz 0x8
+; 00000003 90 nop
+; 00000004 EB02 jmp short 0x8
+; 00000006 7D03 jnl 0xb
+; 00000008 90 nop
+; 00000009 EB03 jmp short 0xe
+; 0000000B 90 nop
+; 0000000C EB01 jmp short 0xf
+; 0000000E 90 nop