Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu_custom.asm @ 90:6655b1c59adc
FIX new cf menu BOOL mode: should skip lines 2&3.
author | JeanDo |
---|---|
date | Fri, 10 Dec 2010 02:36:56 +0100 |
parents | b40a0a6284da |
children | ce3283064cde |
comparison
equal
deleted
inserted
replaced
89:e6dc091dba31 | 90:6655b1c59adc |
---|---|
333 | 333 |
334 bra customfunctions_loop | 334 bra customfunctions_loop |
335 | 335 |
336 customfunctions2: | 336 customfunctions2: |
337 incf menupos,F | 337 incf menupos,F |
338 btfss apnoe_mins,0 ; Are we editing a boolean value ? | 338 movf cf_type,W ; Are we editing a boolean value ? |
339 bra customfunctions2a ; NO : don't skip lines 2/3. | 339 xorlw CF_BOOL |
340 bnz customfunctions2a ; NO : don't skip lines 2/3. | |
340 | 341 |
341 movlw d'4' ; Just after increment, | 342 movlw d'4' ; Just after increment, |
342 cpfsgt menupos ; Is current position < 4 ? | 343 cpfsgt menupos ; Is current position < 4 ? |
343 movwf menupos ; NO: skip set to 4. | 344 movwf menupos ; NO: skip set to 4. |
344 | 345 |