comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 529:e2acb601504c

some cleanup
author heinrichsweikamp
date Fri, 16 Dec 2011 21:13:28 +0100
parents 67ab3c028bc2
children f5a06b9e2fef
comparison
equal deleted inserted replaced
528:67ab3c028bc2 529:e2acb601504c
1692 PLED_confirmbox_move_cursor2: 1692 PLED_confirmbox_move_cursor2:
1693 bra PLED_confirmbox2 ; Return to Profile Menu, also updates cursor 1693 bra PLED_confirmbox2 ; Return to Profile Menu, also updates cursor
1694 1694
1695 1695
1696 PLED_depth: 1696 PLED_depth:
1697 ostc_debug 'r' ; Sends debug-information to screen if debugmode active 1697 ; ostc_debug 'r' ; Sends debug-information to screen if debugmode active
1698 SAFE_2BYTE_COPY rel_pressure, lo 1698 SAFE_2BYTE_COPY rel_pressure, lo
1699 call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar] 1699 call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar]
1700 1700
1701 movlw .039 1701 movlw .039
1702 cpfslt hi 1702 cpfslt hi