comparison src/convert.inc @ 628:cd58f7fc86db

3.05 stable work
author heinrichsweikamp
date Thu, 19 Sep 2019 12:01:29 +0200
parents c40025d8e750
children 4050675965ea
comparison
equal deleted inserted replaced
627:bf5fee575701 628:cd58f7fc86db
1 ;============================================================================= 1 ;=============================================================================
2 ; 2 ;
3 ; File convert.inc combined next generation V3.0.1 3 ; File convert.inc combined next generation V3.04.2
4 ; 4 ;
5 ; Converts register values to string 5 ; Converts register values to string
6 ; 6 ;
7 ; Copyright (c) 2011, Matthias Heinrichs, HeinrichsWeikamp, all right reserved. 7 ; Copyright (c) 2011, Matthias Heinrichs, HeinrichsWeikamp, all right reserved.
8 ;============================================================================= 8 ;=============================================================================
41 output_99 macro ; displays only last two digits from a 8 bit value (0-99) 41 output_99 macro ; displays only last two digits from a 8 bit value (0-99)
42 call output99_call 42 call output99_call
43 endm 43 endm
44 44
45 extern output99x_call 45 extern output99x_call
46 output_99x macro ; displays only last two figures from a 8 bit value with leading zero (00-99) 46 output_99x macro ; displays only last two digits from a 8 bit value with leading zero (00-99)
47 call output99x_call 47 call output99x_call
48 endm
49
50 extern output99dd_call
51 output_99dd macro ; displays only last two digits from a 8 bit value, prints double-dots if zero - small fonts
52 call output99dd_call
53 endm
54
55 extern output99DD_call
56 output_99DD macro ; displays only last two digits from a 8 bit value, prints double-dots if zero - big fonts
57 call output99DD_call
48 endm 58 endm
49 59
50 extern outputHEX_call 60 extern outputHEX_call
51 output_hex macro ; displays 8 bit integer in hex, input via WREG 61 output_hex macro ; displays 8 bit integer in hex, input via WREG
52 call outputHEX_call 62 call outputHEX_call