comparison code_part1/OSTC_code_asm_part1/start.asm @ 43:65d5b0c8da41

New CF48, changed CF15
author heinrichsweikamp
date Thu, 24 Jun 2010 22:12:32 +0200
parents 6e5db85382a2
children 985607cfb813
comparison
equal deleted inserted replaced
42:da553e5c7a90 43:65d5b0c8da41
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
130 GETCUSTOM8 d'48' ; time correction value
131 movff WREG, time_correction_value ; store in Bank0 register
130 132
131 clrf flag1 ; clear all flags 133 clrf flag1 ; clear all flags
132 clrf flag2 134 clrf flag2
133 clrf flag3 135 clrf flag3
134 clrf flag4 136 clrf flag4