From f9aa8472e85e10cd6e43c8020afe99c55c240e2d Mon Sep 17 00:00:00 2001 From: Pedro de Oliveira Date: Thu, 14 Aug 2014 07:23:55 +0100 Subject: [PATCH] =?UTF-8?q?Remover=20ficheiro=20n=C3=A3o=20utilizado.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scroller2/printnumbers.asm | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 scroller2/printnumbers.asm diff --git a/scroller2/printnumbers.asm b/scroller2/printnumbers.asm deleted file mode 100644 index 3883bb7..0000000 --- a/scroller2/printnumbers.asm +++ /dev/null @@ -1,24 +0,0 @@ -; printa numeros de 0 a 9 na linha definida em A -printnumbers - ld b, a ; guarda o valor de A em B - ld a, $16 ; AT - rst $10 - ld a, b ; Y = B - rst $10 - ld a, $0 ; X = 0 - rst $10 - - ld b, $20 ; 32 colunas - ld h, $30 ; chr "0" - -printnumbers_loop - ld a, h ; printa o chr em H - rst $10 - inc h ; Incrementa - ld a, h ; Guarda o valor em A - cp $3a ; Compara com chr ":" (a seguir ao "0") - jr nz, printnumbers_continue - ld h, $30 ; Volta a meter a "0" -printnumbers_continue - djnz printnumbers_loop - ret