1 2 3 4 5 6 7 8
int clock() { volatile int *t_addr; t_addr = (volatile int * ) 0x01F80080; /* Real-time clock address */ return(*t_addr); }