Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/start.asm @ 62:2972a06b0785
1.71 beta in work
author | heinrichsweikamp |
---|---|
date | Mon, 20 Sep 2010 21:51:18 +0200 |
parents | 4f6d6f00e685 |
children | 3e351e25f5d1 |
comparison
equal
deleted
inserted
replaced
61:f254a568e73d | 62:2972a06b0785 |
---|---|
119 incf EEADR,F ; set to 0x102 | 119 incf EEADR,F ; set to 0x102 |
120 movlw softwareversion_y | 120 movlw softwareversion_y |
121 movwf EEDATA | 121 movwf EEDATA |
122 call write_eeprom ; write version y | 122 call write_eeprom ; write version y |
123 clrf EEADRH ; Reset EEADRH | 123 clrf EEADRH ; Reset EEADRH |
124 goto reset_all_cf ; resets all custom functions bank0 and bank1 and jumps to "restart" | 124 ; goto reset_all_cf ; resets all custom functions bank0 and bank1 and jumps to "restart" |
125 ; goto reset_all_cf_bank1 ; resets all custom functions bank1 and jumps to "restart" | 125 ; goto reset_all_cf_bank1 ; resets all custom functions bank1 and jumps to "restart" |
126 | 126 |
127 restart: | 127 restart: |
128 bcf LED_red | 128 bcf LED_red |
129 bcf LED_blue ; all LEDs off | 129 bcf LED_blue ; all LEDs off |