Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu_settime.asm @ 841:8d73c9dcf851
3.16 release
| author | mh |
|---|---|
| date | Tue, 24 Oct 2023 10:38:04 +0200 |
| parents | 23ed973d4fb9 |
| children | 454ef5c2e6aa |
comparison
equal
deleted
inserted
replaced
| 840:b29cf452f91d | 841:8d73c9dcf851 |
|---|---|
| 260 movlw d'1' | 260 movlw d'1' |
| 261 movwf month | 261 movwf month |
| 262 bra set_time_refresh_x | 262 bra set_time_refresh_x |
| 263 add_year: | 263 add_year: |
| 264 incf year,F | 264 incf year,F |
| 265 movlw d'29' ; calendar until 2029 | 265 movlw d'31' ; calendar until 2031 |
| 266 cpfsgt year | 266 cpfsgt year |
| 267 bra set_time_refresh_x | 267 bra set_time_refresh_x |
| 268 movlw d'21' | 268 movlw d'23' |
| 269 movwf year ; Set Year to 2021 | 269 movwf year ; Set Year to 2023 |
| 270 | 270 |
| 271 set_time_refresh_x: | 271 set_time_refresh_x: |
| 272 call set_time_refresh | 272 call set_time_refresh |
| 273 call wait_switches ; Waits until switches are released, resets flag if button stays pressed! | 273 call wait_switches ; Waits until switches are released, resets flag if button stays pressed! |
| 274 return | 274 return |
