comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 342:06299199dfb9

Fix bad max depth value (fix sub16 to avoid trashing sub_b).
author JeanDo
date Fri, 20 May 2011 01:34:59 +0200
parents 2144f19fa1eb
children 544a96faa9f3 93c0cb14b0d2
comparison
equal deleted inserted replaced
341:2144f19fa1eb 342:06299199dfb9
2001 movff max_pressure+1,hi 2001 movff max_pressure+1,hi
2002 call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mBar] 2002 call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mBar]
2003 2003
2004 movlw .039 2004 movlw .039
2005 cpfslt hi 2005 cpfslt hi
2006 bra maxdepth_greater_99_84mtr 2006 bra maxdepth_greater_99_84mtr
2007 2007
2008 ; Display normal "xx.y" 2008 ; Display normal "xx.y"
2009 lfsr FSR2,letter 2009 lfsr FSR2,letter
2010 call PLED_standard_color 2010 call PLED_standard_color
2011 WIN_TOP .184 2011 WIN_TOP .184