Problem to compile

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problem to compile

1,150件の閲覧回数
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,038件の閲覧回数
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 件の賞賛
返信