From c1a50c82b85825c07b58ce5e4f3a1d5433cae5dd Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 19 Feb 2015 16:32:00 -0800 Subject: 787 - arithmetic operations Lots of duplication here; we'll clean it up later. --- cpp/.traces/divide_with_remainder_literal | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 cpp/.traces/divide_with_remainder_literal (limited to 'cpp/.traces/divide_with_remainder_literal') diff --git a/cpp/.traces/divide_with_remainder_literal b/cpp/.traces/divide_with_remainder_literal new file mode 100644 index 00000000..aa3b6478 --- /dev/null +++ b/cpp/.traces/divide_with_remainder_literal @@ -0,0 +1,12 @@ +parse/0: instruction: 6 +parse/0: ingredient: {name: "9", type: 0} +parse/0: ingredient: {name: "2", type: 0} +parse/0: product: {name: "1", type: 1} +parse/0: product: {name: "2", type: 1} +run/0: instruction 0 +run/0: ingredient 0 is 9 +run/0: ingredient 1 is 2 +run/0: product 0 is 4 +mem/0: storing in location 1 +run/0: product 1 is 1 +mem/0: storing in location 2 -- cgit 1.4.1-2-gfad0