Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 412:b2c9cc018671
small cleanup
author | heinrichsweikamp |
---|---|
date | Wed, 13 Jul 2011 11:12:43 +0200 |
parents | c6f9eb123b85 |
children | c72461857a74 |
comparison
equal
deleted
inserted
replaced
411:e6e1b89b7c3e | 412:b2c9cc018671 |
---|---|
3138 movwf xB+0 | 3138 movwf xB+0 |
3139 clrf xB+1 | 3139 clrf xB+1 |
3140 ;xA/xB=xC with xA as remainder | 3140 ;xA/xB=xC with xA as remainder |
3141 call div16x16 ; xC+0=p_amb/10 | 3141 call div16x16 ; xC+0=p_amb/10 |
3142 | 3142 |
3143 ; ; char_I_const_ppO2 > p_amb/10 -> Not physically possible! -> Display actual value! | 3143 ; char_I_const_ppO2 > p_amb/10 -> Not physically possible! -> Display actual value! |
3144 ; tstfsz xC+1 ; xC>255 | 3144 tstfsz xC+1 ; xC>255 |
3145 ; setf xC+0 ; Yes, set xC+0 to 2,55bar ppO2 | 3145 setf xC+0 ; Yes, set xC+0 to 2,55bar ppO2 |
3146 | 3146 |
3147 movff ppO2_setpoint_store,WREG | 3147 movff ppO2_setpoint_store,WREG |
3148 cpfslt xC+0 ; Setpoint value possible? | 3148 cpfslt xC+0 ; Setpoint value possible? |
3149 bra PLED_const_ppO2_value1 ; Yes | 3149 bra PLED_const_ppO2_value1 ; Yes |
3150 | 3150 |