I'm porting for a microcontroller which support segment memory. But I don't know how to porting GCC so that it can understand addresses in different memory segment. For example, I want to create seperate code segment and data segment.
Is it possible in GCC ? and if the answer is "yes", how can I do that ? Thank you very much.