i use a pic16f877
i also use these instructions :
in the start of the subroutine i put "ORG 0x900"
but the programma is not executed the way it supposed. Any help??
if i dont have the above instruction i take this error:
CORE-W0014: Halted due to PC incrementing over the Maximum PC address and wrapping back to Zero
PLEASE HELP ME , it very urgent for school assignment THANKS
i also use these instructions :
Code:
movlw high(subroutine)
movwf PCLATH
call subroutine
clrf PCLATH
but the programma is not executed the way it supposed. Any help??
if i dont have the above instruction i take this error:
CORE-W0014: Halted due to PC incrementing over the Maximum PC address and wrapping back to Zero
PLEASE HELP ME , it very urgent for school assignment THANKS
Last edited: