Jump to main content
MPLAB® XC32 Assembler, Linker, and Utilities User's Guide for PIC32A MCU
Search
Home
5
Assembler Directives
5.8
Directives for Substitution/Expansion
Notice to Development Tools Customers
1
Preface
2
Assembler Overview
3
Assembler Command Line Options
4
MPLAB® XC32
Assembly Language
5
Assembler Directives
5.1
Directives that Define Sections
5.2
Directives that Initialize Constants
5.3
Directives that Declare Symbols
5.4
Directives that Define Sections
5.5
Directives that Modify Section Alignment
5.6
Directives that Format the Output Listing
5.7
Directives that Control Conditional Assembly
5.8
Directives for Substitution/Expansion
5.8.1
.exitm
5.8.2
.irp
symbol
,
value
1
[, ...,
value
n
] ... .
endr
5.8.3
.irpc
symbol
,
value
... .
endr
5.8.4
.macro
symbol
arg
1
[=
default
] [, ...,
arg
n
[=
default
] ] ... .endm
5.8.5
.purgem “
name
”
5.8.6
.rept
count
... .endr
5.9
Miscellaneous Directives
5.10
Directives for Debug Information
6
Assembler Listing File
7
Assembler Errors/Warnings/Messages
8
Linker Overview
9
Linker Command Line Options
10
Linker Scripts
11
Linker Processing
12
Linker Examples
13
Linker Map File
14
Linker Errors/Warnings
15
MPLAB® XC32
Object Archiver/Librarian
16
Other Utilities
17
Document Revision History
18
GNU Free Documentation License
Microchip Information
5.8 Directives for Substitution/Expansion
Substitution/expansion directives are described below.