comparison code_part1/OSTC_code_asm_part1/simulator.asm @ 236:3dbeacf42e9e

BUGFIX missing deko init in reboot code. + Typo in ppN2 name.
author JeanDo
date Sat, 19 Mar 2011 15:15:17 +0100
parents 59c479181724
children d995e220ddac
comparison
equal deleted inserted replaced
235:ade0848c8b8b 236:3dbeacf42e9e
128 movlw LOW d'1000' 128 movlw LOW d'1000'
129 addwf xC+0,F 129 addwf xC+0,F
130 movlw HIGH d'1000' 130 movlw HIGH d'1000'
131 addwfc xC+1,F ; add 1000mBar 131 addwfc xC+1,F ; add 1000mBar
132 132
133 ; movf amb_pressure+0,W
134 ; addwf xC+0,F
135 ; movf amb_pressure+1,W
136 ; addwfc xC+1,F ; Add ambient pressure
137 ;
138 movff xC+0,sim_pressure+0 133 movff xC+0,sim_pressure+0
139 movff xC+1,sim_pressure+1 134 movff xC+1,sim_pressure+1
140 135
141 movff sim_pressure+0,amb_pressure+0 ; override readings with simulator values 136 movff sim_pressure+0,amb_pressure+0 ; override readings with simulator values
142 movff sim_pressure+1,amb_pressure+1 137 movff sim_pressure+1,amb_pressure+1