List of Data Directives

MPASM Assembler

List of Data Directives

Directive
Description
Syntax
_ _BADRAM
Specify invalid RAM locations
_ _badram <expr>
CBLOCK
Define a Block of Constants
cblock [<expr>]
CODE_PACK
No Padding at End of Odd Byte
code_pack
_ _CONFIG
Set configuration fuses
_ _config <expr> OR
_ _config <addr>, <expr>
DA
Store Strings in Program Memory
[<label>] da <expr> [, <expr2>, ..., <exprn>]
DATA
Create Numeric and Text Data
data <expr>,[,<expr>,...,<expr>] data "<text_string>"
[,"<text_string>",...]
DB
Declare Data of One Byte
db <expr>[,<expr>,...,<expr>]
DE
Declare EEPROM Data
de <expr>[,<expr>,...,<expr>]
DT
Define Table
dt <expr>[,<expr>,...,<expr>]
DW
Declare Data of One Word
dw <expr>[,<expr>,...,<expr>]
ENDC
End an Automatic Constant Block
endc
FILL
Specify Memory Fill Value
fill <expr>, <count>
_ _IDLOCS
Set ID locations
_ _idlocs <expr>
_ _MAXRAM
Specify maximum RAM address
_ _maxram <expr>
RES
Reserve Memory
res <mem_units>


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