Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/start.asm @ 308:122324dafba7
1.87beta release - 1.88beta start
author | heinrichsweikamp |
---|---|
date | Sun, 01 May 2011 08:22:41 +0200 |
parents | ab1678d98e46 |
children | 6544f79e298c |
comparison
equal
deleted
inserted
replaced
307:5bc3467fc421 | 308:122324dafba7 |
---|---|
135 incf EEADR,F ; set to 0x102 | 135 incf EEADR,F ; set to 0x102 |
136 movlw softwareversion_y | 136 movlw softwareversion_y |
137 movwf EEDATA | 137 movwf EEDATA |
138 call write_eeprom ; write version y | 138 call write_eeprom ; write version y |
139 clrf EEADRH ; Reset EEADRH | 139 clrf EEADRH ; Reset EEADRH |
140 goto reset_all_cf ; resets all custom functions bank0 and bank1 and jumps to "restart" | 140 ; goto reset_all_cf ; resets all custom functions bank0 and bank1 and jumps to "restart" |
141 ; goto reset_all_cf_bank1 ; resets all custom functions bank1 and jumps to "restart" | 141 ; goto reset_all_cf_bank1 ; resets all custom functions bank1 and jumps to "restart" |
142 | 142 |
143 restart: | 143 restart: |
144 bcf LED_red | 144 bcf LED_red |
145 bcf LED_blue ; all LEDs off | 145 bcf LED_blue ; all LEDs off |