aboutsummaryrefslogtreecommitdiff
path: root/examples/add.urm
diff options
context:
space:
mode:
authorpacien2018-04-22 22:39:56 +0200
committerpacien2018-04-22 22:39:56 +0200
commit0027c7b647e1b345badbb01bcafd22feee075470 (patch)
tree8cf72c45c517b20c1adfe4eba25f8b3358115282 /examples/add.urm
parentdb9de5bc717be46f0ca2dc1aa975c75adca6264d (diff)
downloadurm-0027c7b647e1b345badbb01bcafd22feee075470.tar.gz
Implement program execution from command line
Diffstat (limited to 'examples/add.urm')
-rw-r--r--examples/add.urm11
1 files changed, 11 insertions, 0 deletions
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 @@
1ZERO 0
2ZERO 3
3JUMP 1 3 6
4SUCC 0
5SUCC 3
6JUMP 3 3 2
7ZERO 3
8JUMP 2 3 11
9SUCC 0
10SUCC 3
11JUMP 3 3 7