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

WARNING L5: CODE SPACE MEMORY OVERLAP

I have an asm file that generates a “WARNING L5: CODE SPACE MEMORY OVERLAP” message.

If I add the following line at the top of the code it compiles OK:

CSEG at 0x4000

But I want the linker to allocate the address so I tried the following:

CSEG

But the warning came back as the asm code is located at 0x0000.

The rest of my project is in “C”.

How do I get the linker to relocate my asm to an unused area of memory?

Terry

Parents Reply Children
No data