Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/start.asm @ 157:54cc1346ac15
1.80RC
author | heinrichsweikamp |
---|---|
date | Tue, 18 Jan 2011 07:39:41 +0100 |
parents | a52ba692ad7f |
children | 0ee809806454 |
comparison
equal
deleted
inserted
replaced
156:3f4d60385f9c | 157:54cc1346ac15 |
---|---|
122 incf EEADR,F ; set to 0x102 | 122 incf EEADR,F ; set to 0x102 |
123 movlw softwareversion_y | 123 movlw softwareversion_y |
124 movwf EEDATA | 124 movwf EEDATA |
125 call write_eeprom ; write version y | 125 call write_eeprom ; write version y |
126 clrf EEADRH ; Reset EEADRH | 126 clrf EEADRH ; Reset EEADRH |
127 ; goto reset_all_cf ; resets all custom functions bank0 and bank1 and jumps to "restart" | 127 goto reset_all_cf ; resets all custom functions bank0 and bank1 and jumps to "restart" |
128 ; goto reset_all_cf_bank1 ; resets all custom functions bank1 and jumps to "restart" | 128 ; goto reset_all_cf_bank1 ; resets all custom functions bank1 and jumps to "restart" |
129 | 129 |
130 restart: | 130 restart: |
131 bcf LED_red | 131 bcf LED_red |
132 bcf LED_blue ; all LEDs off | 132 bcf LED_blue ; all LEDs off |