Assembly PIC problems

FX3B.asm (4067Bytes)


For a collage project, I have to do some PIC programming in Assembly. I've made a start, but I'm having trouble defining some variables. Out of the 11 variables I'm using, it is only naming the middle 5 when I simulate it. They're all pretty much identical appart from the name and the position in the memory. Does anyone have any suggestions as to why this is happening?

Sorry for the lack of info. my code's at collage, and I'm not sure of the software (I think it's VPIC, or something similar).

Thanks in advance


Thanks for the replies. I think I’ve manually assigned the memory, but i’m not sure. I’ve been using a template provided by the exam board, and it had a couple of example variables in already, so I just continued in a similar fashion. Sorry for the lack of code, but I’ve posted it now.


Thanks for the help. I’ve got it working for now. The problem was I hadn’t given some of the variables any value.