diff options
author | Eric Anholt <eric@anholt.net> | 2006-09-01 13:37:07 -0700 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-03-04 15:54:25 +0000 |
commit | 9201e4e2a0eb2311daf5333f198631a497e06313 (patch) | |
tree | 5b39949b0b42074befc15b4ec3025e509eb05eba /assembler/test/break.g4a | |
parent | f45ac8b2cca414224427069ae7edc28d5e8e4278 (diff) |
Add tests for break, cont, and halt instructions.
Diffstat (limited to 'assembler/test/break.g4a')
-rw-r--r-- | assembler/test/break.g4a | 6 |
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; |