mirror of
https://github.com/soconnor0919/eceg431.git
synced 2025-12-11 22:54:43 -05:00
project09 - template
This commit is contained in:
14
09/HelloWorld/Main.jack
Normal file
14
09/HelloWorld/Main.jack
Normal file
@@ -0,0 +1,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/9/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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user