Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu_logbook.asm @ 17:68825abc35f7
1.55beta rc1
author | heinrichsweikamp |
---|---|
date | Sun, 11 Apr 2010 20:16:47 +0200 |
parents | 3cf8af30b36e |
children | 6e5db85382a2 |
comparison
equal
deleted
inserted
replaced
16:01510acaeb11 | 17:68825abc35f7 |
---|---|
920 profileview_menu_do: | 920 profileview_menu_do: |
921 dcfsnz menupos,F | 921 dcfsnz menupos,F |
922 bra exit_profileview ; back to list, quit profileview menu | 922 bra exit_profileview ; back to list, quit profileview menu |
923 dcfsnz menupos,F | 923 dcfsnz menupos,F |
924 bra profileview_menu_delete ; Delete Dive from external EEPROM | 924 bra profileview_menu_delete ; Delete Dive from external EEPROM |
925 dcfsnz menupos,F | 925 ; dcfsnz menupos,F |
926 bra profileview_menu_format ; Delete all Dives from external EEPROM | 926 ; bra profileview_menu_format ; Delete all Dives from external EEPROM |
927 | 927 ; |
928 profileview_menu_move_cursor: | 928 profileview_menu_move_cursor: |
929 incf menupos,F | 929 incf menupos,F |
930 movlw d'4' ; number of menu options+1 | 930 movlw d'3' ; number of menu options+1 |
931 cpfseq menupos ; =limit? | 931 cpfseq menupos ; =limit? |
932 bra profileview_menu_move_cursor2 ; No! | 932 bra profileview_menu_move_cursor2 ; No! |
933 movlw d'1' ; Yes, reset to position 1! | 933 movlw d'1' ; Yes, reset to position 1! |
934 movwf menupos | 934 movwf menupos |
935 profileview_menu_move_cursor2: | 935 profileview_menu_move_cursor2: |