DE PIC16CXXX Example
Directives highlighted in this example for PIC16CXXX devices are:
Program Functional Description
This example shows the usage of the
de
directive. This directive is designed mainly for initializing data in the EE data memory region of PICmicro devices with EE data FLASH.Commented Code Listing
list p=16f877 ;Select the device.
#include <p16f877.inc> ;Include standard header file
;for the selected device.
org 2100 ;The absolue address 2100h is
;mapped to the 0000 location of
;EE data memory.
ch_tbl2 de "PICmicro" ;6 EE data memory locations
;(starting from 0) will be filled
;with 6 ASCII characters.
end
Microchip Technology Inc. Microchip's Web Site Voice: (480) 792-7200 Fax: (480) 899-9210 Microchip's E-mail Address |