Mercurial > public > hwos_code
comparison src/gaslist.asm @ 14:440e537e19d6
Show "MOD:" instead of "EAD:" in gas setup
author | heinrichsweikamp |
---|---|
date | Tue, 11 Jun 2013 09:42:59 +0200 |
parents | 11d4fc797f74 |
children | ec4d8503ec45 |
comparison
equal
deleted
inserted
replaced
13:2af021c66b0d | 14:440e537e19d6 |
---|---|
539 ;---------------------------------------------------------------------------- | 539 ;---------------------------------------------------------------------------- |
540 global gaslist_MOD_END | 540 global gaslist_MOD_END |
541 gaslist_MOD_END: | 541 gaslist_MOD_END: |
542 rcall gaslist_calc_mod ; Compute MOD into WREG | 542 rcall gaslist_calc_mod ; Compute MOD into WREG |
543 movwf lo ; Copy to lo | 543 movwf lo ; Copy to lo |
544 STRCAT_TEXT tEAD ; EAD: | 544 STRCAT_TEXT tMOD ; MOD: |
545 TSTOSS opt_units ; 0=Meters, 1=Feets | 545 TSTOSS opt_units ; 0=Meters, 1=Feets |
546 bra gaslist_MOD_metric | 546 bra gaslist_MOD_metric |
547 ;gaslist_MOD_imperial: | 547 ;gaslist_MOD_imperial: |
548 movf lo,W | 548 movf lo,W |
549 mullw .100 ; convert meters to mbar | 549 mullw .100 ; convert meters to mbar |