asm method

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

asm method

1,468件の閲覧回数
DavidoBG
Contributor II
I would like doing a jump to 0xE000 adress in my main function but i have an compilator error
 
asm{
      JMP.W #E000H
    };
 
Error : Factor expected.
 
I am looking for solution with specific factor but i cannot find.
 
thanks
David
 
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

749件の閲覧回数
DavidoBG
Contributor II
OK It is good thanks
0 件の賞賛
返信

749件の閲覧回数
Ake
Contributor III
Hi,
I am not sure of which C-compiler you are using, but to use the CW compiler, you should write
 
  asm{
      JMP  0xE000
    };
 
and that would be OK for HC08, 9S08, 9RS08 and F51 MCUs.
 
Regards,
Ake
0 件の賞賛
返信