summaryrefslogtreecommitdiff
path: root/output/ex39.vaporm
diff options
context:
space:
mode:
Diffstat (limited to 'output/ex39.vaporm')
-rw-r--r--output/ex39.vaporm27
1 files changed, 18 insertions, 9 deletions
diff --git a/output/ex39.vaporm b/output/ex39.vaporm
index 0fa4db7..15c6c79 100644
--- a/output/ex39.vaporm
+++ b/output/ex39.vaporm
@@ -8,22 +8,31 @@ func Main [in 0, out 0, local 14]
local[6] = $s6
local[7] = $s7
$s7 = 0
+ $s6 = $s7
+ $s7 = $s6
$s6 = 2
$s5 = $s7
$s4 = MulS($s6 $s5 )
$s5 = $s4
$s4 = $s5
+ $s5 = $s4
$s6 = $s7
- $s3 = Add($s4 $s6 )
- $s5 = $s3
+ $s3 = Add($s5 $s6 )
+ $s6 = $s3
+ $s4 = $s6
+ $s6 = $s4
+ $s3 = 1
+ $s5 = Sub($s6 $s3 )
$s3 = $s5
- $s6 = 1
- $s4 = Sub($s3 $s6 )
- $s5 = $s4
- $s4 = $s7
- PrintIntS($s4 )
- $s4 = $s5
- PrintIntS($s4 )
+ $s4 = $s3
+ $s3 = $s7
+ $s7 = $s3
+ $s3 = $s7
+ PrintIntS($s3 )
+ $s3 = $s4
+ $s4 = $s3
+ $s3 = $s4
+ PrintIntS($s3 )
$s0 = local[0]
$s1 = local[1]
$s2 = local[2]