• Creating a new Assembly project
    Hi to all! I'm trying to create a new project with µVision3 using only assembler language. I used an existing Startup.s and Target.ld files for GCC compiler, but it doesn't work if my main is "project_name...
  • __schedule_barrier function creates NOPs
    Using uvision4 to build project for Cortex-M3. When I look at assembly listing I notice that the __schedule_barrier() call generates two NOPs instead of using one of the ARM memory barrier instructions...
  • Help creating an array with registers in assembly
    I can't seem to understand how to I make it I have been trying to use it this way: MOV @RO,1 INC R0 MOV @R0,2 DEC R0 ;to point back to the 1st value and it should save value 1 and 2, but...
  • Calling a C-function from assembler
    I wrote the following experimental program: //file c_function.h #ifndef c_function_h #define c_function_h int add_int(int a, int b); #endif //file c_function.c #include "c_function.h" int...
  • Creating a library
    Hi I am still raw with programming and I would like to know how to create a library which would allow me to access functions I define myself. I have multiple source files (*.c) which define functions...