comparison src/gaslist.asm @ 95:3dfc2b7ced6d

BUGFIX: Show "*" always in front of the initial Setpoint 1
author heinrichsweikamp
date Mon, 28 Apr 2014 10:17:18 +0200
parents ec4d8503ec45
children 53a99a2dc6a1
comparison
equal deleted inserted replaced
94:f2201aa374db 95:3dfc2b7ced6d
126 movwf lo 126 movwf lo
127 output_8 127 output_8
128 bcf leftbind 128 bcf leftbind
129 PUTC ":" 129 PUTC ":"
130 gaslist_strcat_setpoint2: ; Short version 130 gaslist_strcat_setpoint2: ; Short version
131 lfsr FSR1,opt_gas_type
132 btfsc divemode 131 btfsc divemode
133 bra gaslist_strcat_setpoint4 ; no "*" in divemode 132 bra gaslist_strcat_setpoint4 ; no "*" in divemode
134 movf gaslist_gas,W 133 movf gaslist_gas,W ; Number-1 into WREG
135 decf PLUSW1,W ; Type-1 into WREG 134 bnz gaslist_strcat_setpoint3 ; Not SP1
136 bnz gaslist_strcat_setpoint3 ; Not "first"
137 PUTC "*" 135 PUTC "*"
138 bra gaslist_strcat_setpoint4 136 bra gaslist_strcat_setpoint4
139 gaslist_strcat_setpoint3: 137 gaslist_strcat_setpoint3:
140 PUTC " " 138 PUTC " "
141 gaslist_strcat_setpoint4: 139 gaslist_strcat_setpoint4: