augustinetez
Active Member
PIC = 16F1827 and language = ASSEMBLY.
I've been working on a PIC project for months now and it is starting to give me the screaming ad-dabs - I'm about ready to through this @#^% PC out the window.
I'll post the code once I tidy it a bit, but basically it all works fine until I added the code for the last set of functions I need to do.
Now I'm 100% sure (but as usual I could be wrong) that I'm running in to the 256 byte boundary problem, as shifting some of the code about to those block boundaries sorted some of the problems.
But I have one call that has to jump 510 locations and I think this is where the problems start.
So, how do I jump there and back, I tried using 'callw' but that just totally screws the whole thing - nothing works.
As per usual, all the seperate functions of this program, if run on their own, work as they should.
Beginning to think I should be using 18F parts - any recommendation for a drop in replacement for the 16F1827 (through hole part)?
I've been working on a PIC project for months now and it is starting to give me the screaming ad-dabs - I'm about ready to through this @#^% PC out the window.
I'll post the code once I tidy it a bit, but basically it all works fine until I added the code for the last set of functions I need to do.
Now I'm 100% sure (but as usual I could be wrong) that I'm running in to the 256 byte boundary problem, as shifting some of the code about to those block boundaries sorted some of the problems.
But I have one call that has to jump 510 locations and I think this is where the problems start.
So, how do I jump there and back, I tried using 'callw' but that just totally screws the whole thing - nothing works.
As per usual, all the seperate functions of this program, if run on their own, work as they should.
Beginning to think I should be using 18F parts - any recommendation for a drop in replacement for the 16F1827 (through hole part)?