Mercurial > public > hwos_code
comparison src/rtc.asm @ 463:2c58631d5229
minor cleanups
author | heinrichsweikamp |
---|---|
date | Mon, 31 Oct 2016 15:21:12 +0100 |
parents | 653a3ab08062 |
children | 8dfb93e80338 |
comparison
equal
deleted
inserted
replaced
462:1eeafeeb9287 | 463:2c58631d5229 |
---|---|
25 movwf day | 25 movwf day |
26 movlw .3 | 26 movlw .3 |
27 movwf month | 27 movwf month |
28 movlw .15 | 28 movlw .15 |
29 movwf year | 29 movwf year |
30 rcall rtc_set_rtc ; writes mins,sec,hours,day,month and year to rtc module | 30 ; rcall rtc_set_rtc ; writes mins,sec,hours,day,month and year to rtc module |
31 return | 31 ; return |
32 | 32 |
33 global rtc_set_rtc | 33 global rtc_set_rtc |
34 rtc_set_rtc: | 34 rtc_set_rtc: |
35 banksel 0xF16 ; Addresses, F16h through F5Fh, are also used by SFRs, but are not part of the Access RAM. | 35 banksel 0xF16 ; Addresses, F16h through F5Fh, are also used by SFRs, but are not part of the Access RAM. |
36 movlw 0x55 | 36 movlw 0x55 |