This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Is it possible to assign a library function to a fixed address?

Is it possible to assign FS$$DIV to fixed address? Seems that after compiling it's always set to different address by checking ".map" file.

  • Your question is not really related to this thread, so I will split it into a new thread.

    You can assign the section containing FS$$DIV, which is defined in library member fs_div.obj, to a particular address by using the linker command file:

    .text:fs_div { *.lib<fs_div.obj>(.text) } > 0x12345