Calling C Function from Assembly code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Calling C Function from Assembly code

Jump to solution
1,171 Views
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.

Labels (1)
0 Kudos
1 Solution
618 Views
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

View solution in original post

0 Kudos
1 Reply
619 Views
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 Kudos