about summary refs log tree commit diff stats
path: root/cpp/013arithmetic
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/013arithmetic')
-rw-r--r--cpp/013arithmetic20
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/013arithmetic b/cpp/013arithmetic
index 1f12b474..d1d61eed 100644
--- a/cpp/013arithmetic
+++ b/cpp/013arithmetic
@@ -23,7 +23,7 @@ case ADD: {
 recipe main [
   1:integer <- add 23:literal, 34:literal
 ]
-+run: instruction 0
++run: instruction main/0
 +run: ingredient 0 is 23
 +run: ingredient 1 is 34
 +run: product 0 is 57
@@ -35,7 +35,7 @@ recipe main [
   2:integer <- copy 34:literal
   3:integer <- add 1:integer, 2:integer
 ]
-+run: instruction 2
++run: instruction main/2
 +run: ingredient 0 is 1
 +mem: location 1 is 23
 +run: ingredient 1 is 2
@@ -67,7 +67,7 @@ case SUBTRACT: {
 recipe main [
   1:integer <- subtract 5:literal, 2:literal
 ]
-+run: instruction 0
++run: instruction main/0
 +run: ingredient 0 is 5
 +run: ingredient 1 is 2
 +run: product 0 is 3
@@ -79,7 +79,7 @@ recipe main [
   2:integer <- copy 34:literal
   3:integer <- subtract 1:integer, 2:integer
 ]
-+run: instruction 2
++run: instruction main/2
 +run: ingredient 0 is 1
 +mem: location 1 is 23
 +run: ingredient 1 is 2
@@ -112,7 +112,7 @@ case MULTIPLY: {
 recipe main [
   1:integer <- multiply 2:literal, 3:literal
 ]
-+run: instruction 0
++run: instruction main/0
 +run: ingredient 0 is 2
 +run: ingredient 1 is 3
 +run: product 0 is 6
@@ -124,7 +124,7 @@ recipe main [
   2:integer <- copy 6:literal
   3:integer <- multiply 1:integer, 2:integer
 ]
-+run: instruction 2
++run: instruction main/2
 +run: ingredient 0 is 1
 +mem: location 1 is 4
 +run: ingredient 1 is 2
@@ -157,7 +157,7 @@ case DIVIDE: {
 recipe main [
   1:integer <- divide 8:literal, 2:literal
 ]
-+run: instruction 0
++run: instruction main/0
 +run: ingredient 0 is 8
 +run: ingredient 1 is 2
 +run: product 0 is 4
@@ -169,7 +169,7 @@ recipe main [
   2:integer <- copy 3:literal
   3:integer <- divide 1:integer, 2:integer
 ]
-+run: instruction 2
++run: instruction main/2
 +run: ingredient 0 is 1
 +mem: location 1 is 27
 +run: ingredient 1 is 2
@@ -205,7 +205,7 @@ case DIVIDE_WITH_REMAINDER: {
 recipe main [
   1:integer, 2:integer <- divide_with_remainder 9:literal, 2:literal
 ]
-+run: instruction 0
++run: instruction main/0
 +run: ingredient 0 is 9
 +run: ingredient 1 is 2
 +run: product 0 is 4
@@ -219,7 +219,7 @@ recipe main [
   2:integer <- copy 11:literal
   3:integer, 4:integer <- divide_with_remainder 1:integer, 2:integer
 ]
-+run: instruction 2
++run: instruction main/2
 +run: ingredient 0 is 1
 +mem: location 1 is 27
 +run: ingredient 1 is 2