aboutsummaryrefslogtreecommitdiff
path: root/examples/sum-first-integers.urm
blob: 363dbdd778b8a66c73b10d7a6baf36325ba3af82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
COPY 2 1
ZERO 3
JUMP 2 3 12
ZERO 4
JUMP 3 4 9
SUCC 1
SUCC 4
ZERO 5
JUMP 5 5 4
SUCC 3
ZERO 6
JUMP 6 6 2