Problem to compile

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Problem to compile

1,233 次查看
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

标签 (1)
0 项奖励
回复
1 回复

1,121 次查看
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 项奖励
回复