comparison code_part1/OSTC_code_asm_part1/outputs.asm @ 771:3b69d3e23051

fix bailout gas 1 display
author heinrichsweikamp
date Tue, 11 Feb 2014 13:43:53 +0100
parents b23b43d6d50d
children 5d6da9ddde27
comparison
equal deleted inserted replaced
770:6861f72ece13 771:3b69d3e23051
1493 movwf EEADR 1493 movwf EEADR
1494 call read_eeprom ; get byte (stored in EEDATA) 1494 call read_eeprom ; get byte (stored in EEDATA)
1495 movff EEDATA,lo ; copy to lo 1495 movff EEDATA,lo ; copy to lo
1496 output_8 ; outputs into Postinc2! 1496 output_8 ; outputs into Postinc2!
1497 PUTC '/' 1497 PUTC '/'
1498 movlw .4 1498 incf EEADR,F ; Gas #hi: %He - Set address in internal EEPROM
1499 mulwf hi,W ; 1-5
1500 movf PRODL,W
1501 addlw .3 ; Gas #x: %He - Set address in internal EEPROM
1502 movwf EEADR
1503 call read_eeprom ; get byte (stored in EEDATA) 1499 call read_eeprom ; get byte (stored in EEDATA)
1504 movff EEDATA,lo ; copy to lo 1500 movff EEDATA,lo ; copy to lo
1505 output_8 ; outputs into Postinc2! 1501 output_8 ; outputs into Postinc2!
1506 bcf leftbind 1502 bcf leftbind
1507 call word_processor 1503 call word_processor