Mercurial > public > hwos_code
comparison src/ghostwriter.asm @ 147:fdd4e30846ae
some cleanup
author | heinrichsweikamp |
---|---|
date | Wed, 06 Aug 2014 11:59:04 +0200 |
parents | e0b758865e91 |
children | 30ebaf72170d |
comparison
equal
deleted
inserted
replaced
146:d6ad414c7c12 | 147:fdd4e30846ae |
---|---|
387 read_int_eeprom .2 | 387 read_int_eeprom .2 |
388 movff EEDATA,lo | 388 movff EEDATA,lo |
389 read_int_eeprom .3 | 389 read_int_eeprom .3 |
390 movff EEDATA,hi | 390 movff EEDATA,hi |
391 ; +1 increase total dive counter | 391 ; +1 increase total dive counter |
392 incf lo,F | 392 infsnz lo,F |
393 movlw d'0' | 393 incf hi,F |
394 addwfc hi,F | |
395 ; Store new number in EEPROM | 394 ; Store new number in EEPROM |
396 movff lo,EEDATA | 395 movff lo,EEDATA |
397 write_int_eeprom .2 | 396 write_int_eeprom .2 |
398 movff hi,EEDATA | 397 movff hi,EEDATA |
399 write_int_eeprom .3 | 398 write_int_eeprom .3 |