summaryrefslogtreecommitdiff
path: root/test-suite/standalone/sassy/tests/prims/inv6.scm
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/standalone/sassy/tests/prims/inv6.scm')
-rw-r--r--test-suite/standalone/sassy/tests/prims/inv6.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/test-suite/standalone/sassy/tests/prims/inv6.scm b/test-suite/standalone/sassy/tests/prims/inv6.scm
new file mode 100644
index 000000000..5868e0bf5
--- /dev/null
+++ b/test-suite/standalone/sassy/tests/prims/inv6.scm
@@ -0,0 +1,21 @@
+(text
+ (alt (if (seq (inv (nop))
+ (inv z!)
+ (inv (inv (nop)))
+ (inv ge!))
+ (inv (nop))
+ (nop))
+ (nop)))
+
+; should be the same as inv4.scm (de Morgan)
+
+; 00000000 90 nop
+; 00000001 EB08 jmp short 0xb
+; 00000003 7406 jz 0xb
+; 00000005 90 nop
+; 00000006 7D03 jnl 0xb
+; 00000008 90 nop
+; 00000009 EB03 jmp short 0xe
+; 0000000B 90 nop
+; 0000000C EB01 jmp short 0xf
+; 0000000E 90 nop