First page Back Continue Last page Overview Graphics

Linker Command File Keywords:


Notes:

Addresses where program sections are placed must be specified. The filenames to be linked (file.o) are then listed separated by spaces. Libraries (if any) to be linked in are specified as well. If other object files need to be placed in different sections, new sections can be setup and the object files listed after this setup.

A segment is a block of memory in a processor where code or data from program sections are loaded.
 
A typical use of the –a modifier would be to append a segment after another segment. For example a const segment could follow a code segment.

If using the .bsct section it must start in the first page of memory (0-$ff).
Variables in the .bsct section must not go beyond address $ff.