comparison code_part1/OSTC_code_asm_part1/menu_settime.asm @ 53:263348f83485

1.70 cleaning the code
author heinrichsweikamp
date Sat, 31 Jul 2010 10:25:59 +0200
parents c97c5514b165
children 6a94f96e9cea
comparison
equal deleted inserted replaced
51:ceeeb5e49348 53:263348f83485
278 add_year: 278 add_year:
279 incf year,F 279 incf year,F
280 movlw d'20' ; calendar until 2020 280 movlw d'20' ; calendar until 2020
281 cpfsgt year 281 cpfsgt year
282 bra set_time_refresh_x 282 bra set_time_refresh_x
283 movlw d'8' 283 movlw d'10'
284 movwf year ; Set Year to 2008 284 movwf year ; Set Year to 2010
285 285
286 set_time_refresh_x: 286 set_time_refresh_x:
287 call set_time_refresh 287 call set_time_refresh
288 call wait_switches ; Waits until switches are released, resets flag if button stays pressed! 288 call wait_switches ; Waits until switches are released, resets flag if button stays pressed!
289 return 289 return