diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/add.reg | 2 | ||||
-rw-r--r-- | examples/add.urm | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/examples/add.reg b/examples/add.reg new file mode 100644 index 0000000..c24e1f9 --- /dev/null +++ b/examples/add.reg | |||
@@ -0,0 +1,2 @@ | |||
1 | 1 2 | ||
2 | 2 3 | ||
diff --git a/examples/add.urm b/examples/add.urm new file mode 100644 index 0000000..d11eff7 --- /dev/null +++ b/examples/add.urm | |||
@@ -0,0 +1,11 @@ | |||
1 | ZERO 0 | ||
2 | ZERO 3 | ||
3 | JUMP 1 3 6 | ||
4 | SUCC 0 | ||
5 | SUCC 3 | ||
6 | JUMP 3 3 2 | ||
7 | ZERO 3 | ||
8 | JUMP 2 3 11 | ||
9 | SUCC 0 | ||
10 | SUCC 3 | ||
11 | JUMP 3 3 7 | ||