Directive | Description | Syntax |
_ _BADRAM | Specify invalid RAM locations | _ _badram <expr>[-<expr>][,<expr>[-<expr>]] |
BANKISEL | Generate RAM bank selecting code for indirect addressing | bankisel <label> |
BANKSEL | Generate RAM bank selecting code | banksel <label> |
CBLOCK | Define a Block Constants | cblock [<expr>] |
ENDC | endc |
CODE | Begins executable code section | [<name>] code [<address>] |
_ _CONFIG | Specify configuration bits | _ _config <expr> |
CONSTANT | Declare Symbol Constant | constant <label>[=<expr>,...,<label>[=<expr>]] |
DA | Store Strings in Program Memory | [<label>] da <expr>[,<expr>,...,<expr>] |
DATA | Create Numeric and Text Data |
[<label>] data <expr>[,<expr>,...,<expr>]
[<label>] data "<text_string>"[,"<text_string>",...] |
DB | Declare Data of One Byte |
[<label>] db <expr>[,<expr>,...,<expr>]
[<label>] db "<text_string>"[,"<text_string>",...] |
DE | Define EEPROM Data |
[<label>] de <expr>[,<expr>,...,<expr>]
[<label>] de "<text_string>"[,"<text_string>",...] |
#DEFINE | Define a text Substitution Label |
#define <name>[<value>]
#define <name>[<arg>,...,<arg>]<value> |
#UNDEFINE | Delete a Substitution Label | #undefine <label> |
DT | Define Table |
[<label>] dt <expr>[,<expr>,...,<expr>]
[<label>] dt "<text_string>"[,"<text_string>",...] |
DW | Declare Data of One Word |
[<label>] dw <expr>[,<expr>,...,<expr>]
[<label>] dw "<text_string>"[,"<text_string>",...] |
END | End Program Block | end |
EQU | Define an Assembly Constant | <label> equ <expr> |
ERROR | Issue an Error Message | error "<text_string>" |
ERRORLEVEL | Set Error Level | errorlevel "0|1|2 <+|-><message_number>" |
EXITM | Exit from a Macro | exitm |
EXPAND | Expand Macro Listing | expand |
NOEXPAND | Turn off Macro Expansion | noexpand |
EXTERN | Declares an external label | extern <label>[,<label>] |
FILL | Fill Memory | [<label>] fill <expr>,<count> |
GLOBAL | Exports a defined label | global <label>[,<label>] |
IDATA | Begin initialized data section | [<name>] idata [<address>] |
_ _IDLOCS | Specify ID locations | _ _idlocs <expr> |
#IF | Begin Conditionally Assembled Code Block | #if <expr> |
#ELSE | Begin Alternative Assembly Block to IF | #else |
#ENDIF | End conditional Assembly Block | #endif |
#IFDEF | Execute if Symbol has Been Defined | #ifdef <label> |
#IFNDEF | Execute if Symbol has not Been Defined | #ifndef <label> |
INCLUDE | Include Additional Source File | include <<include_file>>|"<include_file>" |
LIST | Listing Options | list [<list_optin>,...,<list_option>] |
NOLIST | Turn off Listing Output | nolist |
LOCAL | Declare Local Macro Variable | local <label>[,<label>] |
MACRO | Declare Macro Definition | <label> macro [<arg>,...,<arg>] |
ENDM | End a Macro Definition | endm |
_ _MAXRAM | Specify maximum RAM address | _ _maxram <expr> |
MESSG | Create User Defined Message | messg "<message_text>" |
ORG | Set Program Origin | [<label>] org <expr> |
PAGE | Insert Listing Page Eject | page |
PAGESEL | Generate ROM page selecting code | pagesel <label> |
PROCESSOR | Set Processor Type | processor <processor_type> |
RADIX | Specify Default Radix | radix <default_radix> |
RES | Reserve Memory | [<label>] res <mem_units> |
SET | Define an Assembler Variable | <label> set <expr> |
SPACE | Insert Blank Listing Lines | space <expr> |
TITLE | Specify Program Title | title "<title_text>" |
SUBTITLE | Specify Program Subtitle | subtitle "<sub_text>" |
UDATA | Begin uninitialized data section | [<name>] udata [<address>] |
UDATA_ACS | Begins access uninitialized data section | [<name>] udata_acs [<address>] |
UDATA_OVR | Begin overlayed uninitialized data section | [<name>] udata_ovr [<address>] |
UDATA_SHR | Begin shared uninitialized data section | [<name>] udata_shr [<address>] |
VARIABLE | Declare Symbol Variable | variable <label>[=<expr>,...,<label>[=<expr>]] |
WHILE | Perform Loop While Condition is True | while <expr> |
ENDW | End a While Loop | endw |