DA - Store Strings in Program Memory

MPASM Assembler

DA - Store Strings in Program Memory

Syntax

[<label>] da <expr> [, <expr2>, ..., <exprn>]

Description

Generates a packed 14-bit number representing two 7-bit ASCII characters. This is useful for storing strings in memory for the PICmicro MCU Flash ROM devices.

Examples

  • da "abcdef"

will put 30E2 31E4 32E6 3380 into program memory

  • da "12345678" ,0

will put 18B2 19B4 1AB6 0000 into program memory

  • da 0xFFFF

will put 0x3FFF into program memory


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