asm method

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

asm method

1,472 次查看
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 回复数

753 次查看
DavidoBG
Contributor II
OK It is good thanks
0 项奖励
回复

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