• 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...
  • 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...
  • 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...
  • locating a function to a special adress
    please help me I want to place my wait() function in util.c from 4000H adress; I wrote "?PR?wait?util(0x4000)" in Options menu>LX51 Locate> User Segment I got *** ERROR L108: SEGMENT IN LOCATING...
  • Function pointers array location
    Hello, All: I'm trying to define function pointers array: static const void (*Serial_Func_Table[])(char*) = { SI_Func_1, SI_Func_2, SI_Func_3 }; Despite of "const" memory qualifier, this...