comparison code_part1/OSTC_code_asm_part1/start.asm @ 33:6e5db85382a2

Speedy simulator! New Deco code test 1
author heinrichsweikamp
date Tue, 25 May 2010 17:37:26 +0200
parents a776039bda63
children 65d5b0c8da41
comparison
equal deleted inserted replaced
32:a776039bda63 33:6e5db85382a2
74 movff amb_pressure+0,int_I_pres_respiration+0 ; copy surface air pressure to deco routine 74 movff amb_pressure+0,int_I_pres_respiration+0 ; copy surface air pressure to deco routine
75 movff amb_pressure+1,int_I_pres_respiration+1 75 movff amb_pressure+1,int_I_pres_respiration+1
76 76
77 movlw d'0' 77 movlw d'0'
78 movff WREG,char_I_step_is_1min ; 2 second deco mode 78 movff WREG,char_I_step_is_1min ; 2 second deco mode
79 movff WREG,unused_x24B
80 call deco_main_clear_tissue ; 79 call deco_main_clear_tissue ;
81 movlb b'00000001' ; select ram bank 1 80 movlb b'00000001' ; select ram bank 1
82 call deco_main_calc_desaturation_time; calculate desaturation time 81 call deco_main_calc_desaturation_time; calculate desaturation time
83 movlb b'00000001' ; select ram bank 1 82 movlb b'00000001' ; select ram bank 1
84 call main_clear_CNS_fraction ; clear CNS 83 call main_clear_CNS_fraction ; clear CNS