mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-22 01:31:33 +00:00
21 lines
325 B
Plaintext
21 lines
325 B
Plaintext
|
/***************************************
|
||
|
* PRDEC TEST - Test routine prdec *
|
||
|
* from file prdec.asm for Apple 1 *
|
||
|
***************************************/
|
||
|
|
||
|
#include <apple1.h>
|
||
|
#include <apple1.asm>
|
||
|
#include <prdec.asm>
|
||
|
|
||
|
byte i;
|
||
|
|
||
|
main:
|
||
|
|
||
|
i = 0;
|
||
|
loop:
|
||
|
prdec(i);
|
||
|
echo(32);
|
||
|
i++;
|
||
|
if (i<>0) goto loop;
|
||
|
goto exit;
|