Category Embedded Coding

inline assembly in ‘C’

Many a times there is a need to include assembly in ‘C’ code. Most of the compilers support inline assembly code. Below is an example code for a delay loop tested on TMS470 compiler (v5.1) for Cortex M3 and Cortex R4

C variable placement at specific address

ARM Placing C variables at a specific address