Hello,
Thanks for stopping by, am making a 7x5 display with pic16f628a.
i have set up the code properly to the best of my understanding but one problem persist and its really giving me headache. Each time i call the table that contains the text to be displayed, the program jumps to an unintended location. Attached is the copy of the asm code.
BEGIN
call text ;
CLRF TTEMP2
MOVWF TTEMP2
;
;
;
TEXT
incf TTEMP1, f
movfw TTEMP1
addwf PCL ;program jumps to text and crashed
Thanks for stopping by, am making a 7x5 display with pic16f628a.
i have set up the code properly to the best of my understanding but one problem persist and its really giving me headache. Each time i call the table that contains the text to be displayed, the program jumps to an unintended location. Attached is the copy of the asm code.
BEGIN
call text ;
CLRF TTEMP2
MOVWF TTEMP2
;
;
;
TEXT
incf TTEMP1, f
movfw TTEMP1
addwf PCL ;program jumps to text and crashed