hi guys
i have been trying to write a program but i cant seem to be able to change the page from bank0 to 1.
i have attatched the code i am using called "prog2"
i keep getting the error message
"register in operand not in bank 0. ensure that bank bits are correct."
i am using pic16f628.
when this message comes up, it points to the lines of code where i am trying to load values into TRISA and TRISB.
i have tried someone elses source file too, called "sampleprog" and the same is happening for that too. i am using mplab IDE v7.50.
can somebody please help me coz im losing sleep over this, i cant even write values into TRIS A AND B!!!!!!
thanks
i have been trying to write a program but i cant seem to be able to change the page from bank0 to 1.
i have attatched the code i am using called "prog2"
i keep getting the error message
"register in operand not in bank 0. ensure that bank bits are correct."
i am using pic16f628.
when this message comes up, it points to the lines of code where i am trying to load values into TRISA and TRISB.
i have tried someone elses source file too, called "sampleprog" and the same is happening for that too. i am using mplab IDE v7.50.
can somebody please help me coz im losing sleep over this, i cant even write values into TRIS A AND B!!!!!!
thanks