summaryrefslogtreecommitdiff
path: root/assembler/test/break.g4a
diff options
context:
space:
mode:
Diffstat (limited to 'assembler/test/break.g4a')
-rw-r--r--assembler/test/break.g4a6
1 files changed, 6 insertions, 0 deletions
diff --git a/assembler/test/break.g4a b/assembler/test/break.g4a
new file mode 100644
index 00000000..f23a0bac
--- /dev/null
+++ b/assembler/test/break.g4a
@@ -0,0 +1,6 @@
+/* The break instruction syntax, which is currently just what was in the BNF,
+ * is bad. It really needs 2 arguments -- pop count (19:16, how many
+ * loops to break out of), and the IP count (15:0). For now, this argument
+ * should cover 1 loop, and jumping 2 instructions.
+ */
+break 65538;