Download Assembler/Linker/Librarian User's Guide
Transcript
Errors, Warnings and Common Problems
{PCL | TOSH | TOSU | TOSL} cannot be used as the destination of a
MOVFF or MOVSF instruction.
The MOVFF instruction has unpredictable results when its destination is the PCL,
TOSH, TOSU, or TOSL registers. MPLINK will not allow the destination of a MOVFF
instruction to be replaced with any of these addresses.
Processor types do not agree across all input files.
Each object module and library file specifies a processor type or a processor family. All
input modules processor types or families must match.
Section {absolute|access|overlay|share} types for 'secName' do not
match across input files.
A section with the name secName occurs in more than one input file. However, in some
files it is marked as either an absolute, access, overlay or shared section, and in some
it is not. Change the section's type in the source files and rebuild the object modules.
Section 'secName' can not fit the absolute section. Section 'secName'
start=0xHHHH, length=0xHHHH.
A section which has not been assigned to a memory in the linker command file can not
be allocated. Use the -m <mapfile> switch to generate an error map file. The error
map will show the sections which were allocated prior to the error. More memory must
be made available by adding a CODEPAGE, SHAREBANK, or DATABANK directive,
or by removing the PROTECTED attribute, or the number of input sections must be
reduced.
Section 'romName' can not have a 'RAM' memory attribute specified in
the linker command file.
Use only the ROM attribute when defining the section in the linker command file.
Section 'secName' can not fit the section. Section 'secName'
length='0xHHHH'.
A section which has not been assigned to a memory in the linker command file can not
be allocated. Use the -m <mapfile> switch to generate an error map file. The error
map will show the sections which were allocated prior to the error. More memory must
be made available by adding a CODEPAGE, SHAREBANK, or DATABANK directive,
or by removing the PROTECTED attribute, or the number of input sections must be
reduced.
Section 'secName' contains code and can not have a 'RAM' memory
attribute specified in the linker command file.
Use only the ROM attribute when defining the section in the linker command file.
Section 'secName' contains initialized data and can not have a 'ROM'
memory attribute specified in the linker command file.
Use only the RAM attribute when defining the section in the linker command file.
Section 'secName' contains initialized rom data and can not have a
'RAM' memory attribute specified in the linker command file.
Use only the ROM attribute when defining the section in the linker command file.
© 2009 Microchip Technology Inc.
DS33014K-page 227