mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-25 06:31:25 +00:00
22 lines
428 B
Plaintext
22 lines
428 B
Plaintext
/*****************************************************
|
|
* HELLO - Test/Demo program for C02 Standard Header *
|
|
* Prints "HELLO WORLD" and exits *
|
|
*****************************************************/
|
|
|
|
//Specify System Header using -H option
|
|
|
|
char key; //Key value
|
|
|
|
const char hello = "HELLO WORLD";
|
|
char i;
|
|
|
|
main:
|
|
i = 0;
|
|
while (hello[i]) {
|
|
putchr(hello[i]);
|
|
i++;
|
|
}
|
|
newlin();
|
|
goto exit;
|
|
|