Thank you so much. I have problem that if I use c, timer works but in assembly I have issue that inside of ISR_TB0_Overflow function, TBIFG dosen't clear the flag. I don't know why that happens. And because it dosen't clear the flag it will never come to that method again. odd issue...