Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/displaytext.asm @ 838:2750099bf5bb
3.15 release
author | heinrichsweikamp |
---|---|
date | Tue, 19 Jan 2021 12:57:23 +0100 |
parents | 2a0e5d884fc3 |
children |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/displaytext.asm Fri Jan 01 19:57:21 2021 +0100 +++ b/code_part1/OSTC_code_asm_part1/displaytext.asm Tue Jan 19 12:57:23 2021 +0100 @@ -77,6 +77,7 @@ movlw UPPER(text_pointer-4) movwf TBLPTRU + clrf letter_counter ; reset the letter counter movlw 4 ; textnumber * 4 --> PROD mulwf textnumber @@ -118,6 +119,7 @@ movf TABLAT,W bz display_text_exit ; Text finished? movwf POSTINC2 + incf letter_counter,F ; ++1 bra displaytext3 display_text_exit: