c and assembly mixed programming

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

c and assembly mixed programming

1,036 Views
wenchaohu
Contributor I

how to use a variable defined in C in  assembly in S32DS with MPC5744P?please give me some suggestions

0 Kudos
1 Reply

819 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

unfortunately, I do not have any example, but I can redirect you to usable website. The thing you are searching is called extended assembler. Please see then link below. The only thing you must study is how to use this with VLE instruction set.

Extended Asm - Using the GNU Compiler Collection (GCC) 

I am also attaching you VLE manual.

Hope it helps a little bit.

Regards,

Martin

0 Kudos