Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/math.asm @ 88:eff0da5cb975
mh
author | heinrichsweikamp |
---|---|
date | Fri, 10 Dec 2010 12:59:23 +0100 |
parents | a1ccb92b59cd |
children | 64109f6fb3d1 |
comparison
equal
deleted
inserted
replaced
87:8d3c1bef6551 | 88:eff0da5cb975 |
---|---|
19 ; written by: Matthias Heinrichs, info@heinrichsweikamp.com | 19 ; written by: Matthias Heinrichs, info@heinrichsweikamp.com |
20 ; written: 10/30/05 | 20 ; written: 10/30/05 |
21 ; last updated: 06/21/07 | 21 ; last updated: 06/21/07 |
22 ; known bugs: | 22 ; known bugs: |
23 ; ToDo: clean up! | 23 ; ToDo: clean up! |
24 | |
24 | 25 |
25 convert_time: ; converts hi:lo in minutes to hours (hi) and minutes (lo) | 26 convert_time: ; converts hi:lo in minutes to hours (hi) and minutes (lo) |
26 movff lo,xA+0 ; divide by 60... | 27 movff lo,xA+0 ; divide by 60... |
27 movff hi,xA+1 ; | 28 movff hi,xA+1 ; |
28 movlw d'60' ; | 29 movlw d'60' ; |