blob: 446b21b70e72ec5dd0c684f5439fcd88386148b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/09/HelloWorld/Main.jack
/** Hello World program. */
class Main {
function void main() {
/* Prints some text using the standard library. */
do Output.printString("Hello world!");
do Output.println(); // New line
return;
}
}
|