diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-05-07 18:07:44 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-05-07 18:07:44 -0600 |
commit | 9f24d0511a89379bb3326ee1b62eeaabe589571b (patch) | |
tree | 53303feae0ac4bdbeedb350ee69edaaf3313806a /output/ex34.vaporm | |
parent | dcf0a8a4a77b0add316b3a8ea7cc0f746c128594 (diff) |
Print Datasegments to file, other Condense improvements, initial tests pass
Diffstat (limited to 'output/ex34.vaporm')
-rw-r--r-- | output/ex34.vaporm | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/output/ex34.vaporm b/output/ex34.vaporm index 28464c6..9efa4fc 100644 --- a/output/ex34.vaporm +++ b/output/ex34.vaporm @@ -12,12 +12,18 @@ func Main [in 0, out 0, local 14] $s7 = HeapAllocZ(8 ) [$s7+0] = :functable_A $s6 = $s7 + $s7 = $s6 + $s6 = $s7 $s7 = 1 + $s5 = $s7 + $s7 = $s5 PrintIntS($s7 ) - $s6 = $s6 + $s7 = $s6 + $s6 = $s7 $s7 = [$s6+0] $s5 = [$s7+0] $s7 = 2 + $s4 = $s7 local[8] = $t3 local[9] = $t4 local[10] = $t5 @@ -25,7 +31,7 @@ func Main [in 0, out 0, local 14] local[12] = $t7 local[13] = $t8 $a0 = $s6 - $a1 = $s7 + $a1 = $s4 call $s5 $t3 = local[8] $t4 = local[9] @@ -33,7 +39,8 @@ func Main [in 0, out 0, local 14] $t6 = local[11] $t7 = local[12] $t8 = local[13] - $s4 = $v0 + $s7 = $v0 + $s4 = $s7 $s7 = $s4 PrintIntS($s7 ) $s0 = local[0] @@ -54,11 +61,15 @@ func A_foo [in 0, out 0, local 14] local[5] = $s5 local[6] = $s6 local[7] = $s7 - $s6 = $a0 - $s7 = $a1 - [$s6+4] = 42 - $s7 = [$s6+4] - $v0 = $s7 + $s5 = $a0 + $s6 = $a1 + $s7 = 42 + $s6 = $s7 + [$s5+4] = $s6 + $s6 = [$s5+4] + $s5 = $s6 + $s6 = $s5 + $v0 = $s6 $s0 = local[0] $s1 = local[1] $s2 = local[2] |