1 2 3 4 5 6 7 8 9 10 11 12 13
void main(void) { unsigned char j; unsigned char *mem; j = 0; mem = (unsigned char *) 0x8200; // somwhere in ram while (1) { *mem = j++; } }