diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-03-23 23:59:59 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-03-24 20:59:00 -0700 |
commit | 576990113273caed9a045380f1457adc1df6a5ee (patch) | |
tree | 0add69eef41b3eca78191c59b7bfbfaaedd980d8 /cpp/.traces/factorial | |
parent | 7fb56277f54b9e2625357a433b18f60e4493f34a (diff) | |
download | mu-576990113273caed9a045380f1457adc1df6a5ee.tar.gz |
968
Diffstat (limited to 'cpp/.traces/factorial')
-rw-r--r-- | cpp/.traces/factorial | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/cpp/.traces/factorial b/cpp/.traces/factorial index ef8fff86..a1da686b 100644 --- a/cpp/.traces/factorial +++ b/cpp/.traces/factorial @@ -39,16 +39,16 @@ after-brace/0: 7: {name: "", value: -5, type: 0} after-brace/0: copy ... run/0: instruction factorial/0 run/0: ingredient 0 is 5 -mem/0: storing in location 1 +mem/0: storing 5 in location 1 run/0: instruction factorial/1 run/0: ingredient 0 is 1 -mem/0: storing in location 2 +mem/0: storing 1 in location 2 run/0: instruction factorial/3 run/0: ingredient 0 is 1 mem/0: location 1 is 5 run/0: ingredient 1 is 1 run/0: product 0 is 0 -mem/0: storing in location 3 +mem/0: storing 0 in location 3 run/0: instruction factorial/4 mem/0: location 3 is 0 run/0: ingredient 0 is 0 @@ -60,13 +60,13 @@ run/0: ingredient 1 is 1 mem/0: location 1 is 5 run/0: ingredient 1 is 5 run/0: product 0 is 5 -mem/0: storing in location 2 +mem/0: storing 5 in location 2 run/0: instruction factorial/6 run/0: ingredient 0 is 1 mem/0: location 1 is 5 run/0: ingredient 1 is 1 run/0: product 0 is 4 -mem/0: storing in location 1 +mem/0: storing 4 in location 1 run/0: instruction factorial/7 run/0: ingredient 0 is -5 run/0: pc now 2 @@ -75,7 +75,7 @@ run/0: ingredient 0 is 1 mem/0: location 1 is 4 run/0: ingredient 1 is 1 run/0: product 0 is 0 -mem/0: storing in location 3 +mem/0: storing 0 in location 3 run/0: instruction factorial/4 mem/0: location 3 is 0 run/0: ingredient 0 is 0 @@ -87,13 +87,13 @@ run/0: ingredient 1 is 1 mem/0: location 1 is 4 run/0: ingredient 1 is 4 run/0: product 0 is 20 -mem/0: storing in location 2 +mem/0: storing 20 in location 2 run/0: instruction factorial/6 run/0: ingredient 0 is 1 mem/0: location 1 is 4 run/0: ingredient 1 is 1 run/0: product 0 is 3 -mem/0: storing in location 1 +mem/0: storing 3 in location 1 run/0: instruction factorial/7 run/0: ingredient 0 is -5 run/0: pc now 2 @@ -102,7 +102,7 @@ run/0: ingredient 0 is 1 mem/0: location 1 is 3 run/0: ingredient 1 is 1 run/0: product 0 is 0 -mem/0: storing in location 3 +mem/0: storing 0 in location 3 run/0: instruction factorial/4 mem/0: location 3 is 0 run/0: ingredient 0 is 0 @@ -114,13 +114,13 @@ run/0: ingredient 1 is 1 mem/0: location 1 is 3 run/0: ingredient 1 is 3 run/0: product 0 is 60 -mem/0: storing in location 2 +mem/0: storing 60 in location 2 run/0: instruction factorial/6 run/0: ingredient 0 is 1 mem/0: location 1 is 3 run/0: ingredient 1 is 1 run/0: product 0 is 2 -mem/0: storing in location 1 +mem/0: storing 2 in location 1 run/0: instruction factorial/7 run/0: ingredient 0 is -5 run/0: pc now 2 @@ -129,7 +129,7 @@ run/0: ingredient 0 is 1 mem/0: location 1 is 2 run/0: ingredient 1 is 1 run/0: product 0 is 0 -mem/0: storing in location 3 +mem/0: storing 0 in location 3 run/0: instruction factorial/4 mem/0: location 3 is 0 run/0: ingredient 0 is 0 @@ -141,13 +141,13 @@ run/0: ingredient 1 is 1 mem/0: location 1 is 2 run/0: ingredient 1 is 2 run/0: product 0 is 120 -mem/0: storing in location 2 +mem/0: storing 120 in location 2 run/0: instruction factorial/6 run/0: ingredient 0 is 1 mem/0: location 1 is 2 run/0: ingredient 1 is 1 run/0: product 0 is 1 -mem/0: storing in location 1 +mem/0: storing 1 in location 1 run/0: instruction factorial/7 run/0: ingredient 0 is -5 run/0: pc now 2 @@ -156,7 +156,7 @@ run/0: ingredient 0 is 1 mem/0: location 1 is 1 run/0: ingredient 1 is 1 run/0: product 0 is 1 -mem/0: storing in location 3 +mem/0: storing 1 in location 3 run/0: instruction factorial/4 mem/0: location 3 is 1 run/0: ingredient 0 is 1 @@ -165,4 +165,4 @@ run/0: jumping to instruction 8 run/0: instruction factorial/9 run/0: ingredient 0 is 2 mem/0: location 2 is 120 -mem/0: storing in location 4 +mem/0: storing 120 in location 4 |