Add tests for break, cont, and halt instructions.

This commit is contained in:
Eric Anholt
2006-09-01 13:37:07 -07:00
committed by Damien Lespiau
parent f45ac8b2cc
commit 9201e4e2a0
8 changed files with 28 additions and 0 deletions
+6
View File
@@ -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;