comparison code_part1/OSTC_code_asm_part1/menu_battery.asm @ 395:0e0cf4701c17

Merge with 64kByte Logbook
author JeanDo
date Thu, 23 Jun 2011 01:37:59 +0200
parents f2d5d93b4ca3
children 6e57b5bb98ce
comparison
equal deleted inserted replaced
369:93c0cb14b0d2 395:0e0cf4701c17
94 OUTPUTTEXT .120 ; Temp min: 94 OUTPUTTEXT .120 ; Temp min:
95 read_int_eeprom d'54' ; TEMP_min LOW 95 read_int_eeprom d'54' ; TEMP_min LOW
96 movff EEDATA,lo 96 movff EEDATA,lo
97 read_int_eeprom d'55' ; TEMP_min HIGH 97 read_int_eeprom d'55' ; TEMP_min HIGH
98 movff EEDATA,hi 98 movff EEDATA,hi
99 call PLED_convert_signed_temperature ; converts lo:hi into signed-short and adds '-' to POSTINC2 if required
99 movlw d'3' 100 movlw d'3'
100 movwf ignore_digits 101 movwf ignore_digits
101 bsf leftbind ; left orientated output 102 bsf leftbind ; left orientated output
102 output_16dp d'2' 103 output_16dp d'2'
103 bcf leftbind 104 bcf leftbind
116 OUTPUTTEXT .121 ; Temp max: 117 OUTPUTTEXT .121 ; Temp max:
117 read_int_eeprom d'59' ; TEMP_max LOW 118 read_int_eeprom d'59' ; TEMP_max LOW
118 movff EEDATA,lo 119 movff EEDATA,lo
119 read_int_eeprom d'60' ; TEMP_max HIGH 120 read_int_eeprom d'60' ; TEMP_max HIGH
120 movff EEDATA,hi 121 movff EEDATA,hi
122 call PLED_convert_signed_temperature ; converts lo:hi into signed-short and adds '-' to POSTINC2 if required
121 movlw d'3' 123 movlw d'3'
122 movwf ignore_digits 124 movwf ignore_digits
123 bsf leftbind ; left orientated output 125 bsf leftbind ; left orientated output
124 output_16dp d'2' 126 output_16dp d'2'
125 bcf leftbind 127 bcf leftbind