diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-18 20:11:59 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-18 20:11:59 -0700 |
commit | 0b82eef7140123e29e2628232e3cc7f740d094f2 (patch) | |
tree | 16057bdbcd64d1b365e9ee67a3cd2b36cec16ce0 /cpp/.traces/integer-to-decimal-digit-zero | |
parent | 49073ebeef77aea075728953a9fb05d968e1c46a (diff) | |
download | mu-0b82eef7140123e29e2628232e3cc7f740d094f2.tar.gz |
1099 - new recipe: convert integer to decimal string
Diffstat (limited to 'cpp/.traces/integer-to-decimal-digit-zero')
-rw-r--r-- | cpp/.traces/integer-to-decimal-digit-zero | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/cpp/.traces/integer-to-decimal-digit-zero b/cpp/.traces/integer-to-decimal-digit-zero new file mode 100644 index 00000000..39d858e2 --- /dev/null +++ b/cpp/.traces/integer-to-decimal-digit-zero @@ -0,0 +1,33 @@ +parse/0: instruction: 105 +parse/0: ingredient: {name: "0", value: 0, type: 0, properties: ["0": "literal"]} +parse/0: product: {name: "1", value: 0, type: 2-5-4, properties: ["1": "address":"array":"character", "raw": ]} +parse/0: instruction: 1 +parse/0: ingredient: {name: "1", value: 0, type: 2-5-4, properties: ["1": "address":"array":"character", "deref": , "raw": ]} +parse/0: product: {name: "2", value: 0, type: 5-4, properties: ["2": "array":"character", "raw": ]} +after-brace/0: recipe test-integer-to-decimal-digit-zero +after-brace/0: integer-to-decimal-string ... +after-brace/0: copy ... +run/0: instruction test-integer-to-decimal-digit-zero/0 +run/0: instruction integer-to-decimal-string/0 +mem/0: new alloc: 1000 +mem/0: array size is 30 +run/0: instruction integer-to-decimal-string/1 +run/0: product 0 is 0 +mem/0: storing 0 in location 1002 +run/0: instruction integer-to-decimal-string/3 +mem/0: location 1002 is 0 +run/0: ingredient 0 is 0 +run/0: jump-if fell through +run/0: instruction integer-to-decimal-string/4 +mem/0: storing 1030 in location 1003 +run/0: instruction integer-to-decimal-string/5 +mem/0: location 1003 is 1030 +run/0: result 0 is 1030 +mem/0: storing 1030 in location 1 +run/0: instruction test-integer-to-decimal-digit-zero/1 +run/0: ingredient 0 is 1 +mem/0: location 1 is 1030 +mem/0: location 1030 is 1 +mem/0: location 1031 is 48 +mem/0: storing 1 in location 2 +mem/0: storing 48 in location 3 |