Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 672:e2bb4f745f3a
Store Gas active" flag register in logbook
author | heinrichsweikamp |
---|---|
date | Mon, 10 Dec 2012 13:16:28 +0100 |
parents | 3282581fe178 |
children | 0211d9b9f0ca |
comparison
equal
deleted
inserted
replaced
671:75689df206c2 | 672:e2bb4f745f3a |
---|---|
1559 call write_external_eeprom ; write WREG into external memory | 1559 call write_external_eeprom ; write WREG into external memory |
1560 | 1560 |
1561 GETCUSTOM8 d'29' ; Last decostop [m] | 1561 GETCUSTOM8 d'29' ; Last decostop [m] |
1562 call write_external_eeprom ; write WREG into external memory | 1562 call write_external_eeprom ; write WREG into external memory |
1563 | 1563 |
1564 clrf WREG | 1564 movff gaslist_active,WREG ; "Gas active" flag register |
1565 call write_external_eeprom ; Spare2 | 1565 call write_external_eeprom ; write WREG into external memory |
1566 | |
1566 clrf WREG | 1567 clrf WREG |
1567 call write_external_eeprom ; Spare1 | 1568 call write_external_eeprom ; Spare1 |
1568 | 1569 |
1569 movlw 0xFB ; Header stop | 1570 movlw 0xFB ; Header stop |
1570 call write_external_eeprom | 1571 call write_external_eeprom |