comparison code_part1/OSTC_code_asm_part1/menu_ppO2.asm @ 643:3b50c9949b84

gas6 setup simplified
author heinrichsweikamp
date Wed, 03 Oct 2012 12:40:00 +0200
parents 2cecac640202
children e6ac142e82b0
comparison
equal deleted inserted replaced
642:2cecac640202 643:3b50c9949b84
744 STRCAT " (" 744 STRCAT " ("
745 745
746 OUTPUTTEXT d'192' ; Dil. 746 OUTPUTTEXT d'192' ; Dil.
747 PUTC ' ' 747 PUTC ' '
748 748
749 movlw .1 749 movlw d'96' ; = address for O2 ratio
750 movwf EEADRH 750 movwf EEADR
751 addlw d'96' ; = address for O2 ratio 751 movlw .1
752 movwf EEADR 752 movwf EEADRH
753 call read_eeprom ; Read O2 ratio 753 call read_eeprom ; Read O2 ratio
754 movff EEDATA, lo ; O2 ratio 754 movff EEDATA, lo ; O2 ratio
755 bsf leftbind 755 bsf leftbind
756 output_99 756 output_99
757 PUTC '/' 757 PUTC '/'
758 addlw d'97' ; = address for He ratio 758 movlw d'97' ; = address for He ratio
759 movwf EEADR 759 movwf EEADR
760 movlw .1
761 movwf EEADRH
760 call read_eeprom ; Read He ratio 762 call read_eeprom ; Read He ratio
761 movff EEDATA,lo ; And copy into hold register 763 movff EEDATA,lo ; And copy into hold register
762 clrf EEADRH 764 clrf EEADRH
763 bsf leftbind 765 bsf leftbind
764 output_99 766 output_99