Question about assembly code

Status
Not open for further replies.
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
 

Read the datasheet where it's clearly explained - this code comes directly from it.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…