Hi,
There are some problems in the __interrupt void TIMER1_INT(void) function.
The inline assembly must follow rules defined in the Compiler_HC08.pdf manual at chapter:
High-Level Inline Assembler for the HC(S)08
If you want to define the TABLA in assembly, you must defined it in assembly module and not in inline assembly.
In inline assembly you can not defined a variable.
Else you can define TABLA in Global or local C definition.
Regards
Pascal