• Manual variables initialization in asm
    Hello everyone. I have two questions about linker. Actually I'm not sure, it's about linker, but I guess it's about it. Target - Cortex M4F IDE - Keil uVision 5.15 Language - assembler Toolchain...
  • ARM initialize variable at start
    I noticed that my LPC2148 C program initializes variables at start. But I don't need it, as I make soft reset (without removing power) and it is necessary that variables retain their values. Is there...
  • Accessing local variables in asm
    How can you access local variables in the arm asm block? One example the software came with looks like this and doesn't work: int AddUp ( int n, int near *pTab) { __asm { ; open inline-assembly...
  • global variables are not initialized
    Hi, For the last couple of years we've been working on an embedded ARM project. This worked fine all until suddenly out of nowhere global variables are no longer initialized. The problem happens...
  • global variable initialization
    Hello I got a application for a Cortex-m0 device. the application has no entry point, so no main(). This is the way it was designed. In a way the application does what is supposed to do...