diff options
author | Yuchen Pei <me@ypei.me> | 2018-01-15 12:07:13 +0100 |
---|---|---|
committer | Yuchen Pei <me@ypei.me> | 2018-01-15 12:07:13 +0100 |
commit | 09c40f135cb3f69599457a5b278d29bcb38fa6ef (patch) | |
tree | d92034782bafc958fe1077ba575534d7a7b7f587 /projects/11/Seven | |
parent | 459776159903ab583c0791b1599ec4fc47da8f79 (diff) |
checkpoint
Diffstat (limited to 'projects/11/Seven')
-rw-r--r-- | projects/11/Seven/Main.vm | 10 |
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 |