Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/divemode.asm @ 593:46e9ccd0eca7
pSCR CNS in simulator
author | heinrichsweikamp |
---|---|
date | Mon, 28 May 2012 18:02:07 +0200 |
parents | cda5b45b953f |
children | 16f4eafc197e |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm Mon May 28 17:54:43 2012 +0200 +++ b/code_part1/OSTC_code_asm_part1/divemode.asm Mon May 28 18:02:07 2012 +0200 @@ -285,7 +285,7 @@ bra calc_deko_divemode1a ; in PSCR mode call compute_pscr_ppo2 ; pSCR ppO2 into sub_c:2 -; tstfsz sub_c+1 ; Is ppO2 > 2.55bar ? +; tstfsz sub_c+1 ; Is ppO2 > 2.55bar ? mH ; setf sub_c+0 ; yes: bound to 2.55... better than wrap around. movff sub_c+0,char_I_actual_ppO2 ; copy last ppO2 to buffer register