comparison src/start.asm @ 443:84bb5cbebe57

minor
author heinrichsweikamp
date Tue, 26 Jul 2016 12:25:02 +0200
parents 360acdcda0d7
children 77259baf89e2
comparison
equal deleted inserted replaced
442:d4f24e221cd2 443:84bb5cbebe57
165 incf EEADR,F ; set to 0x102 165 incf EEADR,F ; set to 0x102
166 call read_eeprom ; read current version y 166 call read_eeprom ; read current version y
167 movff EEDATA,temp2 167 movff EEDATA,temp2
168 clrf EEADRH ; Reset EEADRH 168 clrf EEADRH ; Reset EEADRH
169 169
170 ; movlw softwareversion_x 170 movlw softwareversion_x
171 ; cpfseq temp1 ; compare version x 171 cpfseq temp1 ; compare version x
172 bra check_firmware_new ; is not equal -> reset CF and store new version in EEPROM 172 bra check_firmware_new ; is not equal -> reset CF and store new version in EEPROM
173 173
174 movlw softwareversion_y 174 movlw softwareversion_y
175 cpfseq temp2 ; compare version y 175 cpfseq temp2 ; compare version y
176 bra check_firmware_new ; is not equal -> reset CF and store new version in EEPROM 176 bra check_firmware_new ; is not equal -> reset CF and store new version in EEPROM