From 6b9d8f151cc04a0590a7fed80ae5b8eb3928952a Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sun, 21 Aug 2022 22:08:53 +0800 Subject: Move hack-as up one directory --- projects/06/hack-as/test/conventional.asm | 32 ------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 projects/06/hack-as/test/conventional.asm (limited to 'projects/06/hack-as/test/conventional.asm') diff --git a/projects/06/hack-as/test/conventional.asm b/projects/06/hack-as/test/conventional.asm deleted file mode 100644 index 5510424..0000000 --- a/projects/06/hack-as/test/conventional.asm +++ /dev/null @@ -1,32 +0,0 @@ -// conventional asm a sane person would write -// draw a rectangle on top left of screen -// width 16px, height specified in RAM[0] -@0 -D=M -@INFINITE_LOOP -D;JLE // reject if height is negative -@counter -M=D -@SCREEN -D=A -@address -M=D -(LOOP) - @address - A=M - M=-1 - @address - D=M - @32 - D=D+A - @address - M=D - @counter - MD=M-1 - @LOOP - D;JGT - -(INFINITE_LOOP) - @INFINITE_LOOP - 0;JMP - -- cgit v1.2.3