CODE space allocation

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,


More questions in this forum