I have defined my own memory class, ECODE_APP, in ECODE space. The memory range for this class is specified at link time. I have defined a segment in an assembly module, which I wish to locate at the start of this memory class. I have attempted to use the OFFSET relocation type to achieve this, as in the following directive:
VECTOR SEGMENT 'ECODE_APP' OFFS 0
Interrupt vector redirection is exactly what I'm doing, but I don't want to relocate the whole ECODE memory class, just the memory class that I have defined myself. I need to ensure that my "secondary" interrupt vectors are located at the start of that user-defined memory class, so I need a way to specify the offset of that segment within that class. My vector segment seems to be always located at the start of the memory class when I don't specify a relocation type, but I guess this is just lucky. How does the default relocation type (UNIT according to the map file) work? Thanks, Shane.