D daredavel New Member Mar 1, 2010 #22 what does this EEPROM instruction do sir? does 0xaa and 0x55 represents the destination of the bits to be saved? Code: eep_1 movf INDF, W movwf EEDATA ;bcf INTCON, GIE bsf STATUS, RP0 bcf EECON1, EEIF bsf EECON1, WREN movlw 0x55 movwf EECON2 movlw 0xaa movwf EECON2 bsf EECON1, WR
what does this EEPROM instruction do sir? does 0xaa and 0x55 represents the destination of the bits to be saved? Code: eep_1 movf INDF, W movwf EEDATA ;bcf INTCON, GIE bsf STATUS, RP0 bcf EECON1, EEIF bsf EECON1, WREN movlw 0x55 movwf EECON2 movlw 0xaa movwf EECON2 bsf EECON1, WR
Nigel Goodwin Super Moderator Most Helpful Member Mar 1, 2010 #23 daredavel said: what does this EEPROM instruction do sir? does 0xaa and 0x55 represents the destination of the bits to be saved? Code: eep_1 movf INDF, W movwf EEDATA ;bcf INTCON, GIE bsf STATUS, RP0 bcf EECON1, EEIF bsf EECON1, WREN movlw 0x55 movwf EECON2 movlw 0xaa movwf EECON2 bsf EECON1, WR Click to expand... Read the datasheet where it's clearly explained - this code comes directly from it.
daredavel said: what does this EEPROM instruction do sir? does 0xaa and 0x55 represents the destination of the bits to be saved? Code: eep_1 movf INDF, W movwf EEDATA ;bcf INTCON, GIE bsf STATUS, RP0 bcf EECON1, EEIF bsf EECON1, WREN movlw 0x55 movwf EECON2 movlw 0xaa movwf EECON2 bsf EECON1, WR Click to expand... Read the datasheet where it's clearly explained - this code comes directly from it.