What is the function in C for interrupt service routine of timer1.
Assuming you're using a standard '51 derivative, that would be
void your_isr_function_name(void) interrupt 3 { ... }
http://www.keil.com/support/man/docs/c51/c51_le_interruptfuncs.htm