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

Placing Constant at a particular address

Hi,
I need to place a constant array at code address 0x10000. When i say this it puts it in address 0x0000 leaving out the one and it conflicts with the code already present at 0x0000. Can someone tell me how to solve this problem?

Thanks,

Vj.

Parents
  • Oops, I didn't pay close enough attention to 0x10000. I don't have experience with the processors that go beyond 64K address space. But if this is only a 64K processor, are you using the banking capabilities of the linker? Theoretically, 0x0 0000 is equivalent to 0x1 0000 in bank 1. But..., won't this be a conflict with the interrupt vector(s) in low memory? May I suggest moving your 0x1 0000 to an address that is high enough to avoid a conflict with your common area?

Reply
  • Oops, I didn't pay close enough attention to 0x10000. I don't have experience with the processors that go beyond 64K address space. But if this is only a 64K processor, are you using the banking capabilities of the linker? Theoretically, 0x0 0000 is equivalent to 0x1 0000 in bank 1. But..., won't this be a conflict with the interrupt vector(s) in low memory? May I suggest moving your 0x1 0000 to an address that is high enough to avoid a conflict with your common area?

Children
No data