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

How to give absolute address to my look up table

Hi all, i am developing a firmware for ARM7 controller using keil microvision,I have one look up table in my program , i need to put the look up table in particular address in the final executable image, how can i accomplish this,

Thanks And Regards,
Kannan

Parents
  • See - you original problem description is too short. There are a lot of facts missing.

    You forgot to mention that you only uses assembler.

    And you still haven't mentioned why the table must be at a fixed location.

    Are there other important facts that we need, to be able to help you?

    By the way - creating a pointer in assembler is not harder than creating one in C. Look at the processor-specific include file. All the declarations for SFR are basically declarations of pointers to objects located at fixed addresses.

Reply
  • See - you original problem description is too short. There are a lot of facts missing.

    You forgot to mention that you only uses assembler.

    And you still haven't mentioned why the table must be at a fixed location.

    Are there other important facts that we need, to be able to help you?

    By the way - creating a pointer in assembler is not harder than creating one in C. Look at the processor-specific include file. All the declarations for SFR are basically declarations of pointers to objects located at fixed addresses.

Children