Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 81:31fa973a70fd
Kludges to emulate inexisting devices when debugged with the MPLAB software SIMulator.
author | JeanDo |
---|---|
date | Mon, 06 Dec 2010 18:05:39 +0100 |
parents | de8ed3c55db1 |
children | 3e351e25f5d1 |
comparison
equal
deleted
inserted
replaced
80:d2d7cb96100d | 81:31fa973a70fd |
---|---|
1498 bra PLED_active_gas_surfmode_exit | 1498 bra PLED_active_gas_surfmode_exit |
1499 | 1499 |
1500 PLED_active_gas_surfmode4: | 1500 PLED_active_gas_surfmode4: |
1501 lfsr FSR2,letter | 1501 lfsr FSR2,letter |
1502 bsf leftbind ; left orientated output | 1502 bsf leftbind ; left orientated output |
1503 output_8 ; O2 ratio is still in "lo" | 1503 output_99 ; O2 ratio is still in "lo" |
1504 movlw '/' | 1504 movlw '/' |
1505 movwf POSTINC2 | 1505 movwf POSTINC2 |
1506 movff char_I_He_ratio,lo ; copy He ratio into lo | 1506 movff char_I_He_ratio,lo ; copy He ratio into lo |
1507 output_8 | 1507 output_99 |
1508 bcf leftbind | 1508 bcf leftbind |
1509 call word_processor | 1509 call word_processor |
1510 bra PLED_active_gas_surfmode_exit | 1510 bra PLED_active_gas_surfmode_exit |
1511 | 1511 |
1512 PLED_active_gas_surfmode_exit: | 1512 PLED_active_gas_surfmode_exit: |
2658 movff temp6,win_top | 2658 movff temp6,win_top |
2659 ; lfsr FSR1,0x251 | 2659 ; lfsr FSR1,0x251 |
2660 lfsr FSR1,0x0E1 ; Gf_decolist_copy | 2660 lfsr FSR1,0x0E1 ; Gf_decolist_copy |
2661 movf temp5,W ; number of entry | 2661 movf temp5,W ; number of entry |
2662 movff PLUSW1,lo ; Stop length | 2662 movff PLUSW1,lo ; Stop length |
2663 incf lo,F ; add one dummy minute | 2663 incf lo,F ; add one dummy minute |
2664 lfsr FSR2,letter | 2664 lfsr FSR2,letter |
2665 output_99x ; outputs into Postinc2! | 2665 output_99x ; outputs into Postinc2! |
2666 movlw d'39' ;"'" | 2666 movlw d'39' ;"'" |
2667 movwf POSTINC2 | 2667 movwf POSTINC2 |
2668 call word_processor | 2668 call word_processor |