This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

relocation of function

Hi,
I would like to locate code of the function on the absolute address in a code memmory (analogous to absolute variable location : int code i _at_ 0x2000;) - is it possible in some way?
Thanks, Peter

Parents
  • Thank, I have looked at A51 manual. But I didn't find exactly what i need-I have just found CSEG directive but it doesnt work how I need.
    I need place the code of one function (from all program) to some specific absolute address (then jump to this address and run the function). Can you give some suggestion about which directives I need for resolution of my problem?..Thank you very much, Bye Peter

Reply
  • Thank, I have looked at A51 manual. But I didn't find exactly what i need-I have just found CSEG directive but it doesnt work how I need.
    I need place the code of one function (from all program) to some specific absolute address (then jump to this address and run the function). Can you give some suggestion about which directives I need for resolution of my problem?..Thank you very much, Bye Peter

Children