comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 138:dd4b899c56c1

1.75beta released
author heinrichsweikamp
date Thu, 06 Jan 2011 09:31:34 +0100
parents 20b2c77a6cd2
children 87a53efbb5ba
comparison
equal deleted inserted replaced
137:e6aa4a74c3c2 138:dd4b899c56c1
2860 movwf xB+0 2860 movwf xB+0
2861 clrf xB+1 2861 clrf xB+1
2862 call div16x16 ;xA/xB=xC with xA as remainder 2862 call div16x16 ;xA/xB=xC with xA as remainder
2863 2863
2864 movff xC+0,char_I_const_ppO2 ; No, Overwrite with actual value 2864 movff xC+0,char_I_const_ppO2 ; No, Overwrite with actual value
2865 bra PLED_const_ppO2_value1a 2865
2866 GETCUSTOM8 d'39' ; Adjust fixed SP?
2867 dcfsnz WREG,F
2868 bra PLED_const_ppO2_value1a ; Yes!
2869 ; Do not adjust -> restore original SetPoint
2866 2870
2867 PLED_const_ppO2_value11: 2871 PLED_const_ppO2_value11:
2868
2869 ; Setpoint in possible limits 2872 ; Setpoint in possible limits
2870 movff ppO2_setpoint_store,char_I_const_ppO2 ; Restore Setpoint 2873 movff ppO2_setpoint_store,char_I_const_ppO2 ; Restore Setpoint
2871 2874
2872 PLED_const_ppO2_value1a: 2875 PLED_const_ppO2_value1a:
2873 PLED_color_code warn_ppo2 ; Color-code output 2876 PLED_color_code warn_ppo2 ; Color-code output