Download Assembler/Linker/Librarian User's Guide

Transcript
Assembler/Linker/Librarian User’s Guide
Part 1 – “MPASM Assembler”
• Chapter 1. “MPASM Assembler Overview” – describes what the MPASM
assembler is, what it does and how it works with other tools. Also, gives an
overview of operation and discusses input/output files.
• Chapter 2. “Assembler Interfaces” – reviews how to use the MPASM
assembler with MPLAB IDE and describes how to use the assembler on the
command line or in a Windows shell interface.
• Chapter 3. “Expression Syntax and Operation” – provides guidelines for using
complex expressions in MPASM assembler source files.
• Chapter 4. “Directives” – lists each MPASM assembler directive alphabetically
and describes the directive in detail, with examples.
• Chapter 5. “Assembler Examples, Tips and Tricks” – provides examples of
how to use the MPASM assembler directives together in applications.
• Chapter 6. “Relocatable Objects” – describes how to use the MPASM
assembler in conjunction with MPLINK object linker.
• Chapter 7. “Macro Language” – describes how to use the MPASM assembler’s
built-in macro processor.
• Chapter 8. “Errors, Warnings, Messages, and Limitations” – contains a
descriptive list of the errors, warnings, and messages generated by the MPASM
assembler, as well as tool limitations.
Part 2 – “MPLINK Object Linker”
• Chapter 9. “MPLINK Linker Overview” – describes what the MPLINK object
linker is, what it does and how it works with other tools. Also, gives an overview of
operation and discusses input/output files.
• Chapter 10. “Linker Interfaces” – reviews how to use the MPLINK linker with
MPLAB IDE and describes how to use the linker on the command line.
• Chapter 11. “Linker Scripts” – discusses how to generate and use linker scripts
to control linker operation.
• Chapter 12. “Linker Processing” – describes how the linker processes files.
• Chapter 13. “Sample Applications” – provides examples of how to use the
linker to create applications.
- Sample Application 1 – explains how to find and use template files and
when to modify the generic linker script file.
- Sample Application 2 – explains how to place program code in different
memory regions, how to place data tables in ROM memory and how to set
configuration bits in C.
- Sample Application 3 – explains how to partition memory for a boot loader
and how to compile code that will be loaded into external RAM and executed.
- Sample Application 4 – explains how to create new linker script memory
section, how to declare external memory through #pragma code directive,
and how to access external memories using C pointers.
• Chapter 14. “Errors, Warnings and Common Problems” – contains a
descriptive list of the errors and warnings generated by the MPLINK linker, as well
as common problems and tool limitations.
DS33014L-page 10
 1994-2013 Microchip Technology Inc.