Calling C Function from Assembly code

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

Calling C Function from Assembly code

跳至解决方案
1,208 次查看
girichavana
Contributor II


Hello Team,

 

I am working with "CodeWarrior for MCU Version: 10.1" for MC9S08SG16.

I have some functions in my C-File. I have to call those function in the asm file.

 

Could you please give me the proceduce to call the functions and to pass the parameters.

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
655 次查看
CrasyCat
Specialist III

Hello

There is a chapter in the HCS08-RS08_Assembler_MCU_Eclipse.pdf dedicated to this topic.

Please check {Install}\MCU\Help\PDF\HCS08-RS08_Assembler_MCU_Eclipse.pdf, chapter Mixed C and Assembler Applications.

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
1 回复
656 次查看
CrasyCat
Specialist III

Hello

There is a chapter in the HCS08-RS08_Assembler_MCU_Eclipse.pdf dedicated to this topic.

Please check {Install}\MCU\Help\PDF\HCS08-RS08_Assembler_MCU_Eclipse.pdf, chapter Mixed C and Assembler Applications.

CrasyCat

0 项奖励
回复