Hi All
Ok again I am confused as I have my program working with FSR in one place and not in another. I have a video of it not working using the debugger..
**broken link removed**
Ok so I have the piece of code in the MAIN program and as you can see W gets a 5 from INDF however when I have it as part of a call routine from the interrupt routine W is not updated..
the code is this:
Basically the movf INDF,W wont accept the value FSR is pointing too and I have no idea why?
Simon
Ok again I am confused as I have my program working with FSR in one place and not in another. I have a video of it not working using the debugger..
**broken link removed**
Ok so I have the piece of code in the MAIN program and as you can see W gets a 5 from INDF however when I have it as part of a call routine from the interrupt routine W is not updated..
the code is this:
Code:
MOVLW H'07'
MOVWF POS_1
MOVLW H'27'
MOVWF FSR
movf INDF,W
Basically the movf INDF,W wont accept the value FSR is pointing too and I have no idea why?
Simon