List of Control Directives

MPASM Assembler

List of Control Directives

Directive
Description
Syntax
CONSTANT
Declare Symbol Constant
constant <label> [= <expr>,...,<label> [= <expr>] ]
#DEFINE
Define a Text Substitution Label
#define <name> [[(<arg>,...,<arg>)]<value>]
END
End Program Block
end
EQU
Define an Assembly Constant
<label> equ <expr>
#INCLUDE
Include Additional Source File
include <<include_file>> include "<include_file>"
ORG
Set Program Origin
<label> org <expr>
PROCESSOR
Set Processor Type
processor <processsor_type>
RADIX
Specify Default Radix
radix <default_radix>
SET
Define an Assembler Variable
<label> set <expr>
#UNDEFINE
Delete a Substitution Label
#undefine <label>
VARIABLE
Declare Symbol Variable
variable <label> [= <expr>,..., <label> [= <expr>] ]


Microchip Technology Inc.
Microchip's Web Site
Voice: (480) 792-7200
Fax: (480) 899-9210
Microchip's E-mail Address
PreviousNext