We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b111536 commit ffdea63Copy full SHA for ffdea63
09/Println/Main.jack
@@ -0,0 +1,6 @@
1
+class Main {
2
+ function void main() {
3
+ do Output.printString("hello");
4
+ return;
5
+ }
6
+}
09/Println/Main.vm
@@ -0,0 +1,17 @@
+function Main.main 0
+push constant 5
+call String.new 1
+push constant 104
+call String.appendChar 2
+push constant 101
7
8
+push constant 108
9
10
11
12
+push constant 111
13
14
+call Output.printString 1
15
+pop temp 0
16
+push constant 0
17
+return
0 commit comments