I have a PIC 16F684 and im trying to create a stack of data that can be accessed and manipulated. I was thinking about putting these files in the data register bank which starts at 0x020 and ends at about 0x070 or something and I realized this wasn't enough space. Now I am thinking of putting these files at the end of my program. So the number stored at the line in my code should be found at the address it is placed in. I was thinking of doing code like this...
EQU 0x025
EQU 0x038
and this would continue for a couple hundred locations so I don't know if this is right but basically I need a lot of bytes in a stack and I need to be able to access them using FSR and INDF. Any ideas?
EQU 0x025
EQU 0x038
and this would continue for a couple hundred locations so I don't know if this is right but basically I need a lot of bytes in a stack and I need to be able to access them using FSR and INDF. Any ideas?