What if -- Difficulty in linking files in Laboratory 2 |
The following problems can occur during the linking stage
- Using out of date object files. This can occur because
- you forget to reassemble a source file after changing the file or one of the files that it includes
- the assembler fails, but you continue with the linking process which "picks up" the old, unmodified object file. This
problem is over come with the DOS QAM approach.
- Code has loaded unevenly -- error message from linker. This typically occurs when there is a missing section name in
the memory specification file, or an additional section name (often in the form of a typo) in the source file. If there is no
section identified (see next error), this message often means user has forgotten section code at the start of a source file.
- Unable to load section XXX -- error message from linker. Identifies the section that the linker believes in causing a
problem. Check the memory specification file or source file for the error, typically a typo.
- Memory overlap error/warning. This occurs if the size of your program code (ROM) is so large that the end of the
program code overlaps the start of the RAM memory, something not allowed in a "physical" microprocessor system.
Adjust the memory specification file to account for the larger-than-expected program code size.
 |
|
Last modified: July 08, 1996 03:36 PM by M. Smith.
Copyright -- M. R. Smith