I was wondering if there is a way to clear a variable declared within an .inc file in MPLab IDE. I'm wanting to use the Z variable to represent the zero bit in the status register and it appears that it is set as something else. The reason I think it may be another value is because when I use movfw Z, it loads 0x0E into the W register.
I want to leave the other declarations in the .inc file as they are, but just want to change that one declaration. I would rather it be in code so that I can use it in the code no matter the PIC that I use...
Thanks,
Joe
I want to leave the other declarations in the .inc file as they are, but just want to change that one declaration. I would rather it be in code so that I can use it in the code no matter the PIC that I use...
Thanks,
Joe