I have a project which has a large ROM, of which only 8KBytes is visible to the CPU.
The rest of the ROM is accessed by a custom memory scheme.
I want to ensure that all the CODE in the ROM resides in the bottom 8KBytes so it can be seen by the CPU, with the rest if the ROM conatining data.
The _at_ directive (etc) is too inflexable - I want the data to follow on immediately after the code.
How can I do this?
Thanks in advance,
"The _at_ directive (etc) is too inflexable"
Search the forum for _at_, this has been discussed many times before.
Ordinarily, code sections are sorted by size, with the largest at the beginning of memory, with the exception of "filling gaps" between various vectors.
Is there a directive to sort in reverse order - such that the largest section is at the end of used memory?
Take a look at the following knowledgebase article:
But NOSO simply turns of the sorting - I want the sorting reversed....
But NOSO simply turns of the sorting - I want the sorting reversed...
Sorry. There's no automatic way to do that.
View all questions in Keil forum