1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-06-01 21:41:31 +00:00

Modified test/arrays.c02

This commit is contained in:
Curtis F Kaylor 2018-08-11 00:13:57 -04:00
parent b6b84aaa9b
commit 2c3d11f86b
2 changed files with 3 additions and 10 deletions

View File

@ -2,7 +2,6 @@
#pragma origin 1000
char b, c, i;
char r[255];
@ -10,9 +9,12 @@ const char s = "string";
const char d = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'};
const char n = {1, 2, 3, 4, 5, 6, 7, 8, 9};
const char t = {"eins", 1, "zwei", 2, "drei", 3, "vier", 4};
const char z = "zero";
char func();
puts(" ");
c = d[3];
b = n[i];
b = s[n[i]];

View File

@ -1,9 +0,0 @@
/* Generic 6502 header file */
//int getchar() = $f000
//void putchar() = $f002
#label exit $FF00
#origin $0300