comparison code_part1/OSTC_code_asm_part1/simulator.asm @ 398:ab962c4b19d6

Fixing issue 50, correct "Bar" to "bar" in texts and comments
author heinrichsweikamp
date Sun, 26 Jun 2011 12:24:54 +0200
parents a847f416e67e
children d022c62a1df5
comparison
equal deleted inserted replaced
396:0386c7e1374a 398:ab962c4b19d6
144 call mult16x16 ;xA*xB=xC ; Depth in m*100 144 call mult16x16 ;xA*xB=xC ; Depth in m*100
145 145
146 movlw LOW d'1000' 146 movlw LOW d'1000'
147 addwf xC+0,F 147 addwf xC+0,F
148 movlw HIGH d'1000' 148 movlw HIGH d'1000'
149 addwfc xC+1,F ; add 1000mBar 149 addwfc xC+1,F ; add 1000mbar
150 150
151 movff xC+0,sim_pressure+0 151 movff xC+0,sim_pressure+0
152 movff xC+1,sim_pressure+1 152 movff xC+1,sim_pressure+1
153 153
154 ; This override is done in ISR too, but do it right now also: 154 ; This override is done in ISR too, but do it right now also:
363 call mult16x16 ;xA*xB=xC, Depth in m*100 363 call mult16x16 ;xA*xB=xC, Depth in m*100
364 364
365 movlw LOW d'1000' 365 movlw LOW d'1000'
366 addwf xC+0,F 366 addwf xC+0,F
367 movlw HIGH d'1000' 367 movlw HIGH d'1000'
368 addwfc xC+1,F ; add 1000mBar 368 addwfc xC+1,F ; add 1000mbar
369 369
370 movff xC+0,sim_pressure+0 370 movff xC+0,sim_pressure+0
371 movff xC+1,sim_pressure+1 371 movff xC+1,sim_pressure+1
372 372
373 call PLED_topline_box 373 call PLED_topline_box