comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 229:85ea09d3b9d8

Nofly should not be reset after dive simulation (bug BB18).
author JeanDo
date Tue, 15 Mar 2011 18:13:51 +0100
parents 6d4e29d80ff3
children ade0848c8b8b
comparison
equal deleted inserted replaced
228:6d4e29d80ff3 229:85ea09d3b9d8
1706 return 1706 return
1707 1707
1708 PLED_nofly_time: 1708 PLED_nofly_time:
1709 movff nofly_time+0,lo 1709 movff nofly_time+0,lo
1710 movff nofly_time+1,hi ; Copy 1710 movff nofly_time+1,hi ; Copy
1711 movlw d'1' 1711 tstfsz lo ; =0?
1712 cpfseq lo ; =1?
1713 bra PLED_nofly_time2 ; No! 1712 bra PLED_nofly_time2 ; No!
1714 tstfsz hi ; =0? 1713 tstfsz hi ; =0?
1715 bra PLED_nofly_time2 ; No! 1714 bra PLED_nofly_time2 ; No!
1716 return 1715 return
1717 1716