koky
Full Member level 2
pic12f683 eeprom
I want put in my assembly code an initializzation data in eeprom during programmation step
readind mplab help i have found :
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.
#include p16f877a.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.
You can create a data or character table starting from any address in EE data memory.
ch_tbl2 de "PICmicro" ;6 EE data memory locations
;(starting from 0) will be filled
;with 6 ASCII characters.
end
but with org 2100 the 12F683 don't work, what is the right value ??
I want put in my assembly code an initializzation data in eeprom during programmation step
readind mplab help i have found :
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.
#include p16f877a.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.
You can create a data or character table starting from any address in EE data memory.
ch_tbl2 de "PICmicro" ;6 EE data memory locations
;(starting from 0) will be filled
;with 6 ASCII characters.
end
but with org 2100 the 12F683 don't work, what is the right value ??