Hello. I have six values which I want to save in the EEPROM-memory but I can't just write to the EEPROM once. My code for writing the first value: BSF status,6; RP1 = 1 BCF status,5; RP0 = 0 ; BANK = 01 = 2 MOVLW d'0' MOVWF eeadr MOVLW d'5' MOVWF eedata BSF status,5; RP0 = 1 : BANK = 11 = 3 BCF eecon1,7; bit 7 = EEPGD BSF eecon1,2; bit 2 = WREN MOVLW h'55' MOVWF eecon2 MOVLW h'aa' MOVWF eecon2 BSF eecon1,1; bit 1 = WR BCF eecon1,2 BCF status,5; RP0 = 0 BCF status,6; RP1 = 0 BTFSS pir2,4 ; BANK = 00 = 0 GOTO $-1 BCF pir2,4 As you can see I write d'5' to d'0' in the EEPROM. If I have the exactly same code, but of course with other values and adresses, right after the first, then the program just stops. When checking the EEPROM, I see that all the values have correctly been written to the different adresses... Why does the program just stop??