Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/start.asm @ 160:0ee809806454
1.80 stable released, 1.81beta started
author | heinrichsweikamp |
---|---|
date | Wed, 19 Jan 2011 12:24:51 +0100 |
parents | 54cc1346ac15 |
children | 144822282fa3 |
comparison
equal
deleted
inserted
replaced
159:aaa6e8720a7d | 160:0ee809806454 |
---|---|
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 |