Problem to compile

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem to compile

968 Views
juanma2468
Contributor I

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

Labels (1)
0 Kudos
1 Reply

856 Views
trytohelp
NXP Employee
NXP Employee

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

0 Kudos