project04: add template files

This commit is contained in:
2025-09-03 10:45:45 -04:00
parent d0c67845f4
commit dd31b8f1dc
5 changed files with 148 additions and 0 deletions

11
04/fill/Fill.asm Normal file
View File

@@ -0,0 +1,11 @@
// 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/4/Fill.asm
// Runs an infinite loop that listens to the keyboard input.
// When a key is pressed (any key), the program blackens the screen,
// i.e. writes "black" in every pixel. When no key is pressed,
// the screen should be cleared.
//// Replace this comment with your code.