• Return Values
    How does the returned value from a function is handled in Assembly? Please give an simple example. (e.g. int func ( int a ) { ... return x ; } ) ( Example for C) Thank you!
  • How to import C variable in an assembly code in a .s file
    I'm new of arm processor and I'd like to import a variable in a .s file the variable is definited in a c file: #define INIT_VAR 1 ....... extern uint32_t save_mem = INIT_VAR; or better I need...
  • Function Calls
    For Cortex M0+, what registers are used when a C function is called with; 1 parameter 2 parameters. Please give a simple example for each case (both C and Assembly). Thank you!
  • M4 (Thumb2) to M0+ (Thumb) assembly language
    I have spent a long time trying to find the fastest ARM M0+ macros for C code but I am trying to write an M0+ processor and I have discovered that for an MP3 decoder, the processors ability is it's speed...
  • Decoding the Startup file for Arm Cortex-M4
    Introduction This is my attempt to understand the startup file for an Arm Cortex M4 processor, specifically the STM32F4 (Cortex M4) processor. This document should help in giving a feel of assembly...