I have a probem to compile. The problem is assembler part that is within of timer interrupt, I do not understand what is wrong, I work with CodeWarrior V6.3, attach the file. Thank you for help me.
Original Attachment has been moved to: Funciones.rar
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