comparison src/ghostwriter.asm @ 139:e0b758865e91

some cleanup
author heinrichsweikamp
date Thu, 17 Jul 2014 17:56:09 +0200
parents 4574aed5cd4c
children fdd4e30846ae
comparison
equal deleted inserted replaced
138:2852b0bd6391 139:e0b758865e91
1004 vault_decodata_into_eeprom: 1004 vault_decodata_into_eeprom:
1005 ; Vault in EEPROM 512...1023 1005 ; Vault in EEPROM 512...1023
1006 ; Write 0xAA at 512 to indicate valid data in vault 1006 ; Write 0xAA at 512 to indicate valid data in vault
1007 ; Store last time/date 1007 ; Store last time/date
1008 ; Store 0x700 to 0x780 (pres_tissue_N2 and pres_tissue_He) 1008 ; Store 0x700 to 0x780 (pres_tissue_N2 and pres_tissue_He)
1009 movlw LOW .512 ; =0
1010 movwf EEADR
1011 movlw HIGH .512 ; =2 1009 movlw HIGH .512 ; =2
1012 movwf EEADRH 1010 movwf EEADRH
1013 movlw 0xAA 1011 movlw 0xAA
1014 movwf EEDATA 1012 movwf EEDATA
1015 write_int_eeprom .0 1013 write_int_eeprom .0