Mercurial > public > mk2
diff 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 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_ppO2.asm Wed Oct 03 11:39:50 2012 +0200 +++ b/code_part1/OSTC_code_asm_part1/menu_ppO2.asm Wed Oct 03 12:40:00 2012 +0200 @@ -746,17 +746,19 @@ OUTPUTTEXT d'192' ; Dil. PUTC ' ' + movlw d'96' ; = address for O2 ratio + movwf EEADR movlw .1 movwf EEADRH - addlw d'96' ; = address for O2 ratio - movwf EEADR call read_eeprom ; Read O2 ratio movff EEDATA, lo ; O2 ratio bsf leftbind output_99 PUTC '/' - addlw d'97' ; = address for He ratio + movlw d'97' ; = address for He ratio movwf EEADR + movlw .1 + movwf EEADRH call read_eeprom ; Read He ratio movff EEDATA,lo ; And copy into hold register clrf EEADRH