aboutsummaryrefslogtreecommitdiff
path: root/projects/11/Seven
diff options
context:
space:
mode:
Diffstat (limited to 'projects/11/Seven')
-rw-r--r--projects/11/Seven/Main.vm10
1 files changed, 10 insertions, 0 deletions
diff --git a/projects/11/Seven/Main.vm b/projects/11/Seven/Main.vm
new file mode 100644
index 0000000..a209c18
--- /dev/null
+++ b/projects/11/Seven/Main.vm
@@ -0,0 +1,10 @@
+function Main.main 0
+push constant 1
+push constant 2
+push constant 3
+call Math.multiply 2
+add
+call Output.printInt 1
+pop temp 0
+push constant 0
+return