summaryrefslogtreecommitdiff
path: root/test/asm/should-pass/005-comment-mix.asm
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-08-11 19:46:24 +1200
committerDavid Phillips <david@sighup.nz>2019-08-11 19:47:09 +1200
commit74e86763c680f98234b27267d21a2696603cb457 (patch)
tree3301c8ab3a283365692ebd18de697c08aaf3a5e5 /test/asm/should-pass/005-comment-mix.asm
parent0d36dbbf03a836ab6bc0d964176015dc12e68b47 (diff)
downloadtoy-cpu-assembler-74e86763c680f98234b27267d21a2696603cb457.tar.xz
Add new tests
Diffstat (limited to 'test/asm/should-pass/005-comment-mix.asm')
-rw-r--r--test/asm/should-pass/005-comment-mix.asm7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/asm/should-pass/005-comment-mix.asm b/test/asm/should-pass/005-comment-mix.asm
new file mode 100644
index 0000000..01d1e65
--- /dev/null
+++ b/test/asm/should-pass/005-comment-mix.asm
@@ -0,0 +1,7 @@
+nop ; test
+nop;
+nop # test
+ldi $0, 123 // asdf
+//asdf
+/* */ nop
+jmp $0 ! foo