Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu_gassetup.asm @ 49:cd5b650920f6
1.70...
author | heinrichsweikamp |
---|---|
date | Wed, 28 Jul 2010 15:40:03 +0200 |
parents | 56aea9fcdd8f |
children | c97c5514b165 |
comparison
equal
deleted
inserted
replaced
48:ebc5abda180d | 49:cd5b650920f6 |
---|---|
1350 ; Carry now holds active bit of gas #logbook_temp3 (0-4) | 1350 ; Carry now holds active bit of gas #logbook_temp3 (0-4) |
1351 | 1351 |
1352 btfss STATUS,C ; Was Gas active? | 1352 btfss STATUS,C ; Was Gas active? |
1353 clrf logbook_temp1 ; No!, Clear change Depth to make it inactive for sorted list! | 1353 clrf logbook_temp1 ; No!, Clear change Depth to make it inactive for sorted list! |
1354 | 1354 |
1355 movf logbook_temp5,W | 1355 ;call enable_rs232 |
1356 ;movff logbook_temp1,TXREG | |
1357 ;call rs232_wait_tx ; wait for UART | |
1358 | |
1359 movf logbook_temp5,W ; 1-5 | |
1356 mullw d'4' | 1360 mullw d'4' |
1357 movff PRODL,EEADR ; Point to EEPROM of Gas #logbook_temp5 | 1361 movff PRODL,EEADR ; Point to EEPROM of Gas #logbook_temp5 |
1358 | 1362 |
1359 movlw d'90' ; +90 Offset to new... | 1363 movlw d'90' ; +90 Offset to new... |
1360 addwf EEADR,F ; ..sorted list! | 1364 addwf EEADR,F ; ..sorted list! |