Mercurial > public > mk2
diff 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 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/outputs.asm Tue Feb 11 12:40:16 2014 +0100 +++ b/code_part1/OSTC_code_asm_part1/outputs.asm Tue Feb 11 13:43:53 2014 +0100 @@ -1495,11 +1495,7 @@ movff EEDATA,lo ; copy to lo output_8 ; outputs into Postinc2! PUTC '/' - movlw .4 - mulwf hi,W ; 1-5 - movf PRODL,W - addlw .3 ; Gas #x: %He - Set address in internal EEPROM - movwf EEADR + incf EEADR,F ; Gas #hi: %He - Set address in internal EEPROM call read_eeprom ; get byte (stored in EEDATA) movff EEDATA,lo ; copy to lo output_8 ; outputs into Postinc2!