Your code isn't looping until it gets to the timer loop. You're only looping @main if you push button 32. You need a VSYNC at the end of your loop or it will run too fast. Also, you should create a function for your timer and just put that in the main loop. Create function like this: DEF TIMER TIME=TIME+1 LOCATE 1,3 ? TIME END Then just put the word TIMER in your main loop.