From 201b2e6c7ce94c986fe7888a60f0e1ba24a05ce9 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 19 Feb 2015 18:25:25 -0800 Subject: 796 - jump instructions done --- cpp/.traces/jump_if_fallthrough | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 cpp/.traces/jump_if_fallthrough (limited to 'cpp/.traces/jump_if_fallthrough') diff --git a/cpp/.traces/jump_if_fallthrough b/cpp/.traces/jump_if_fallthrough new file mode 100644 index 00000000..894392ec --- /dev/null +++ b/cpp/.traces/jump_if_fallthrough @@ -0,0 +1,12 @@ +parse/0: instruction: 11 +parse/0: ingredient: {name: "0", type: 0} +parse/0: ingredient: {name: "1", type: 0} +parse/0: instruction: 1 +parse/0: ingredient: {name: "1", type: 0} +parse/0: product: {name: "123", type: 1} +run/0: instruction 0 +run/0: ingredient 0 is 0 +run/0: jump-if fell through +run/0: instruction 1 +run/0: ingredient 0 is 1 +mem/0: storing in location 123 -- cgit 1.4.1-2-gfad0