Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/simulator.asm @ 265:ab8ce7de2b46
BUGFIX zero gas rate (bug bb28).
author | JeanDo |
---|---|
date | Tue, 12 Apr 2011 01:19:33 +0200 |
parents | 27c9bb14b008 |
children | be06783f533b |
comparison
equal
deleted
inserted
replaced
264:d9593e0f1eea | 265:ab8ce7de2b46 |
---|---|
299 movf lo,W ; == 65535 (saturated ?) | 299 movf lo,W ; == 65535 (saturated ?) |
300 andwf hi,W | 300 andwf hi,W |
301 incf WREG | 301 incf WREG |
302 bnz simulator_show_decoplan5_2 | 302 bnz simulator_show_decoplan5_2 |
303 call PLED_warnings_color | 303 call PLED_warnings_color |
304 STRCPY "> " | 304 STRCPY_PRINT "= xxxx.x" |
305 bra simulator_show_decoplan5_3 | 305 call PLED_standard_color |
306 bra simulator_show_decoplan5_1 | |
306 | 307 |
307 simulator_show_decoplan5_2: | 308 simulator_show_decoplan5_2: |
308 call PLED_standard_color | |
309 STRCPY "= " | 309 STRCPY "= " |
310 | 310 |
311 simulator_show_decoplan5_3: | |
312 bsf leftbind | 311 bsf leftbind |
313 output_16dp .4 ; 1 decimal. | 312 output_16dp .4 ; 1 decimal. |
314 bcf leftbind | 313 bcf leftbind |
315 call word_processor ; No unit: can be bars or litters. | 314 call word_processor ; No unit: can be bars or litters. |
316 | 315 |