I had written a post before about getting an error when i used non-absolute arguments in certain instructions in my CW 5.1 for my MC9RS08KA2. However, I realized that I wasn't understanding what the error was saying. In the variable declaration section I have some variables that I declare by using "ds.b" For example,
SensorReading: ds.b 1
From what I understand, this clears one byte of space for this variable. However, when I then use this variable in an instruction such as "clr SensorReading", the compiler gives me and error and says that I can not do this with the -FA1 or -FA2 option. My question is if there is any way around this. Can I just say "SensorReading equ $00" and this would be the same? Thanks.