int main(void) { static volatile short *debug = (volatile short*) 0x100; int a; a = 1; *(debug) = 0; a = 2; return 0; }