Mercurial > public > hwos_code
diff src/convert.asm @ 628:cd58f7fc86db
3.05 stable work
author | heinrichsweikamp |
---|---|
date | Thu, 19 Sep 2019 12:01:29 +0200 |
parents | c40025d8e750 |
children | 4050675965ea |
line wrap: on
line diff
--- a/src/convert.asm Sun Jun 30 23:22:32 2019 +0200 +++ b/src/convert.asm Thu Sep 19 12:01:29 2019 +0200 @@ -1,6 +1,6 @@ ;============================================================================= ; -; File convert.asm combined next generation V3.0.1 +; File convert.asm combined next generation V3.04.2 ; ; Converts register values to string ; @@ -17,6 +17,26 @@ ;============================================================================= + global output99DD_call +output99DD_call: + tstfsz lo ; value = 0 ? + bra output99_call ; NO - do normal output + movlw " " ; YES - print a space + movwf POSTINC2 ; - ... + bra output99dd_cont ; - continue with the double dots + + + global output99dd_call +output99dd_call: + tstfsz lo ; value = 0 ? + bra output99_call ; NO - do normal output +output99dd_cont: + movlw "." ; YES - print double dots + movwf POSTINC2 ; - ... + movwf POSTINC2 ; - ... + return ; - done + + global output99_call output99_call: clrf ignore_digits