From 986eebffcfbc896449a0d61c395b714bab59c5f0 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 21 Feb 2015 14:34:09 -0800 Subject: 807 - first passing test for indirect addressing --- cpp/.traces/copy_indirect | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 cpp/.traces/copy_indirect (limited to 'cpp/.traces/copy_indirect') diff --git a/cpp/.traces/copy_indirect b/cpp/.traces/copy_indirect new file mode 100644 index 00000000..f757f05a --- /dev/null +++ b/cpp/.traces/copy_indirect @@ -0,0 +1,20 @@ +parse/0: instruction: 1 +parse/0: ingredient: {name: "2", type: 0} +parse/0: product: {name: "1", type: 2-1} +parse/0: instruction: 1 +parse/0: ingredient: {name: "34", type: 0} +parse/0: product: {name: "2", type: 1} +parse/0: instruction: 1 +parse/0: ingredient: {name: "1", type: 2-1, property: deref:} +parse/0: product: {name: "3", type: 1} +run/0: instruction 0 +run/0: ingredient 0 is 2 +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 2 +mem/0: location 2 is 34 +mem/0: storing in location 3 -- cgit 1.4.1-2-gfad0