1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-28 10:51:14 +00:00
C02/apple1/prdecr.c02

21 lines
326 B
Plaintext
Raw Permalink Normal View History

2018-01-28 19:52:58 +00:00
/***************************************
* PRDEC0 TEST - Test routine prdecr *
* from file prdec.asm for Apple 1 *
***************************************/
#include <apple1.h>
#include <apple1.asm>
#include <prdec.asm>
byte i;
main:
i = 0;
loop:
prdecr(i);
echo(32);
i++;
if (i<>0) goto loop;
goto exit;