lpcware

inline Assembly - How To ?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by behzat_c on Tue May 24 04:29:45 MST 2011
Hey Everyone!

Is there any tutorial or example cod snippet where i can look up for how to embed assembly code in to C program.

I know that there is an asm(" ... ") function to that but i mean how can i access a variable or array element defined in C within that assembly program?

Also,

is there any special instruction set for NXP series or just the classic Cortex M3 instruction set apply here?

Outcomes