mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-22 01:31:33 +00:00
20 lines
297 B
Plaintext
20 lines
297 B
Plaintext
/* Test C02 define directive */
|
|
|
|
#pragma origin 1000
|
|
|
|
#define TRUE = $FF
|
|
#define FALSE = 0
|
|
|
|
#define BITS = %01010101
|
|
#define ZED = 'Z'
|
|
|
|
#enum SOLO
|
|
#enum ZERO, ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN
|
|
|
|
char a = {#TRUE, #FALSE};
|
|
char b;
|
|
char f = #FALSE;
|
|
char t = #TRUE;
|
|
|
|
b = #TRUE;
|