Mercurial > public > hwos_code
comparison src/menu_tree.asm @ 148:022b886eddaf
some cleanup
author | heinrichsweikamp |
---|---|
date | Wed, 06 Aug 2014 17:38:31 +0200 |
parents | e3ac5b2021bc |
children | afa31c815f24 |
comparison
equal
deleted
inserted
replaced
147:fdd4e30846ae | 148:022b886eddaf |
---|---|
491 clrf hi | 491 clrf hi |
492 goto do_logoffset_common_write ; Store and return | 492 goto do_logoffset_common_write ; Store and return |
493 | 493 |
494 do_logoffset_plus1: | 494 do_logoffset_plus1: |
495 call do_logoffset_common_read ; Read into lo:hi | 495 call do_logoffset_common_read ; Read into lo:hi |
496 movlw d'1' | 496 infsnz lo,F |
497 addwf lo | 497 incf hi,F |
498 movlw d'0' | |
499 addwfc hi | |
500 goto do_logoffset_common_write ; Store and return | 498 goto do_logoffset_common_write ; Store and return |
501 | 499 |
502 do_logoffset_plus10: | 500 do_logoffset_plus10: |
503 call do_logoffset_common_read ; Read into lo:hi | 501 call do_logoffset_common_read ; Read into lo:hi |
504 movlw d'10' | 502 movlw d'10' |