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

Load function in assembly

If I have the address of particular function, is it possible load the function in assembly?

I understand that usually the function is loaded as

LCALL _function

but I was wondering whether it is possible to load the function with its address?

Appreciate anyone who can offer me advise on this. Thank you.

Parents
  • whether it is possible to load the function with its address?

    Your terminology is somewhat strange. What you're doing here is usually referred as "calling" a function", not "loading" it.

    That set aside, it's completely unclear what it is you want to do. Note that _function is the address of that function, effectively --- _function is just a more convenient way the assembler and tools allow you to write it.

Reply
  • whether it is possible to load the function with its address?

    Your terminology is somewhat strange. What you're doing here is usually referred as "calling" a function", not "loading" it.

    That set aside, it's completely unclear what it is you want to do. Note that _function is the address of that function, effectively --- _function is just a more convenient way the assembler and tools allow you to write it.

Children
No data