summaryrefslogtreecommitdiff
path: root/test-suite/standalone/sassy/tests/prims16/16label2.scm
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/standalone/sassy/tests/prims16/16label2.scm')
-rw-r--r--test-suite/standalone/sassy/tests/prims16/16label2.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/test-suite/standalone/sassy/tests/prims16/16label2.scm b/test-suite/standalone/sassy/tests/prims16/16label2.scm
new file mode 100644
index 000000000..15019eb43
--- /dev/null
+++ b/test-suite/standalone/sassy/tests/prims16/16label2.scm
@@ -0,0 +1,15 @@
+(bits 16)
+
+(text
+ (iter (begin
+ (nop)
+ (label foo (nop))
+ (nop)))
+ (jmp foo))
+
+
+; 00000000 90 nop
+; 00000001 90 nop
+; 00000002 90 nop
+; 00000003 EBFB jmp short 0x0
+; 00000005 E9F9FF jmp 0x1