comparison code_part1/OSTC_code_asm_part1/simulator.asm @ 442:9cec10e64077

movlb after deco_calc_CNS_planning
author heinrichsweikamp
date Wed, 10 Aug 2011 20:15:24 +0200
parents 4826dd98514b
children 6e57b5bb98ce
comparison
equal deleted inserted replaced
441:4826dd98514b 442:9cec10e64077
459 bnz simulator_calc_deco2 ; Not finished 459 bnz simulator_calc_deco2 ; Not finished
460 460
461 ; Finished 461 ; Finished
462 simulator_calc_deco3: 462 simulator_calc_deco3:
463 call deco_calc_CNS_planning ; Compute cNS after full ascent. 463 call deco_calc_CNS_planning ; Compute cNS after full ascent.
464 movlb 0x01 ; Back to RAM Bank1
464 movff char_O_CNS_fraction,sim_CNS ; Save calculated CNS. 465 movff char_O_CNS_fraction,sim_CNS ; Save calculated CNS.
465 rcall simulator_restore_tissue_data ; Restore CNS & 32 floats "pre_tissue" from vault 466 rcall simulator_restore_tissue_data ; Restore CNS & 32 floats "pre_tissue" from vault
466 467
467 bcf simulatormode_active ; normal simulator mode 468 bcf simulatormode_active ; normal simulator mode
468 bcf standalone_simulator ; Standalone Simulator active 469 bcf standalone_simulator ; Standalone Simulator active