• Program start location
    With the old uVision, I could start my programs at 0x001000, by using the segments in the linker. The new uVision2 gives me a start251 out of range error. Any ideas on what I am doing wrong. Thanks Paul...
  • LOCATING SUBROUTINES IN MEMORY
    I am trying to put a subroutine at a fixed address (I want it to remain fixed after the code is rebuilt and other modules are changed). First I linked my code and obtained its absolute linked address...
  • Pointer to function
    Hello all, can anyone give an example or link how to use a pointer to a function? I have a function with an (unsigned char) argument and which returns also an (unsigned char) value and I want to access...
  • Calling assembly function from C
    I am working on a project that has multiple C files and an assembly file. A function in one of the C files is calling an assembly subroutine. The project compiles fine but linking produces the following...
  • problem with stack pointer for reentrant functions
    Hello, i've got a problem when linking my project, I use large reentrant functions , so in the startup file, i want to initialise the variable C_XBP. But when i want to link my project, there is an...