Mercurial > public > hwos_code
comparison src/divemode.asm @ 176:3fdafedc24af
surface pressure copy in simulator
author | heinrichsweikamp |
---|---|
date | Mon, 06 Oct 2014 23:47:08 +0200 |
parents | 8bcb064b4fb8 |
children | 39f6c07ce2f6 |
comparison
equal
deleted
inserted
replaced
174:932e91074bdb | 176:3fdafedc24af |
---|---|
738 movlw .0 | 738 movlw .0 |
739 movff WREG,opt_brightness ; Set Brightness to ECO | 739 movff WREG,opt_brightness ; Set Brightness to ECO |
740 return ; return | 740 return ; return |
741 | 741 |
742 calc_average_depth: | 742 calc_average_depth: |
743 btfsc reset_average_depth ; Reset the Avewrage depth? | 743 btfsc reset_average_depth ; Reset the Average depth? |
744 rcall reset_average1 ; Reset the resettable average depth | 744 rcall reset_average1 ; Reset the resettable average depth |
745 | 745 |
746 ; 1. Add new 2xdepth to the Sum of depths registers | 746 ; 1. Add new 2xdepth to the Sum of depths registers |
747 SAFE_2BYTE_COPY rel_pressure, xB ; Buffer... | 747 SAFE_2BYTE_COPY rel_pressure, xB ; Buffer... |
748 bcf STATUS,C | 748 bcf STATUS,C |