about summary refs log tree commit diff stats
path: root/cpp/.traces/copy_indirect
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-02-21 14:34:09 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-02-21 14:34:09 -0800
commit986eebffcfbc896449a0d61c395b714bab59c5f0 (patch)
treeb1fffcccfa9312c711c4cb6486282005f9e40dcc /cpp/.traces/copy_indirect
parent0060093e9ed53a32570fab1c18da8074926520d1 (diff)
downloadmu-986eebffcfbc896449a0d61c395b714bab59c5f0.tar.gz
807 - first passing test for indirect addressing
Diffstat (limited to 'cpp/.traces/copy_indirect')
-rw-r--r--cpp/.traces/copy_indirect20
1 files changed, 20 insertions, 0 deletions
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