Hi I have a terrible problem when writing to PCLATH so please take a look.
I attached the disassembly listing it shows the actual line number in my Data Tables.
You can see the half of Table11 & Table12 exceeding 0FFh mark. Highlighted in red.
I can call Table1 to 10 anywhere in the program memory. Because there in the first 0FFh mark. But when I call Tables 11 & 12 it won’t work very well.
I’m calling Table11 from 12Fh line. Here what I wrote to PCLATH.
I think I have missed some PCLATH value any idea.
I attached the disassembly listing it shows the actual line number in my Data Tables.
You can see the half of Table11 & Table12 exceeding 0FFh mark. Highlighted in red.
I can call Table1 to 10 anywhere in the program memory. Because there in the first 0FFh mark. But when I call Tables 11 & 12 it won’t work very well.
I’m calling Table11 from 12Fh line. Here what I wrote to PCLATH.
Code:
calling Table11 from 12Fh line
movlw HIGH Table11
movwf PCLATH
call Table11
I think I have missed some PCLATH value any idea.