about summary refs log tree commit diff stats
path: root/cpp/.traces/add
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-02-19 16:32:00 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-02-19 16:32:05 -0800
commitc1a50c82b85825c07b58ce5e4f3a1d5433cae5dd (patch)
treeb80292093b7743eade48187c130e6f7aa05004bc /cpp/.traces/add
parent79a7ad4f8c67f7de7d2e478aa7c62d39f8f62f6f (diff)
downloadmu-c1a50c82b85825c07b58ce5e4f3a1d5433cae5dd.tar.gz
787 - arithmetic operations
Lots of duplication here; we'll clean it up later.
Diffstat (limited to 'cpp/.traces/add')
-rw-r--r--cpp/.traces/add23
1 files changed, 23 insertions, 0 deletions
diff --git a/cpp/.traces/add b/cpp/.traces/add
new file mode 100644
index 00000000..365c75f0
--- /dev/null
+++ b/cpp/.traces/add
@@ -0,0 +1,23 @@
+parse/0: instruction: 1
+parse/0:   ingredient: {name: "23", type: 0}
+parse/0:   product: {name: "1", type: 1}
+parse/0: instruction: 1
+parse/0:   ingredient: {name: "34", type: 0}
+parse/0:   product: {name: "2", type: 1}
+parse/0: instruction: 2
+parse/0:   ingredient: {name: "1", type: 1}
+parse/0:   ingredient: {name: "2", type: 1}
+parse/0:   product: {name: "3", type: 1}
+run/0: instruction 0
+run/0: ingredient 0 is 23
+mem/0: storing in location 1
+run/0: instruction 1
+run/0: ingredient 0 is 34
+mem/0: storing in location 2
+run/0: instruction 2
+run/0: ingredient 0 is 1
+mem/0: location 1 is 23
+run/0: ingredient 1 is 2
+mem/0: location 2 is 34
+run/0: product 0 is 57
+mem/0: storing in location 3