From 9dc2948276388d2ca6556f4a8d13d55406775ac7 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 19 Feb 2015 22:47:50 -0800 Subject: 797 - comparison instructions --- cpp/.traces/lesser_than2 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 cpp/.traces/lesser_than2 (limited to 'cpp/.traces/lesser_than2') diff --git a/cpp/.traces/lesser_than2 b/cpp/.traces/lesser_than2 new file mode 100644 index 00000000..735b78b0 --- /dev/null +++ b/cpp/.traces/lesser_than2 @@ -0,0 +1,23 @@ +parse/0: instruction: 1 +parse/0: ingredient: {name: "34", type: 0} +parse/0: product: {name: "1", type: 1} +parse/0: instruction: 1 +parse/0: ingredient: {name: "33", type: 0} +parse/0: product: {name: "2", type: 1} +parse/0: instruction: 15 +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 34 +mem/0: storing in location 1 +run/0: instruction 1 +run/0: ingredient 0 is 33 +mem/0: storing in location 2 +run/0: instruction 2 +run/0: ingredient 0 is 1 +mem/0: location 1 is 34 +run/0: ingredient 1 is 2 +mem/0: location 2 is 33 +run/0: product 0 is 0 +mem/0: storing in location 3 -- cgit 1.4.1-2-gfad0