Mustafa KUTLU

Why do I have to use an absolute variable in the IF statement?

Discussion created by Mustafa KUTLU on Aug 9, 2006
Latest reply on Aug 10, 2006 by Mustafa KUTLU
an example code;

...
if var1 == 5
jmp label1
else
jmp label2
endif
...

My question is when I use a variable (like var1) there is no problem if the variable is absolute. But if the variable is relocatable I have got an error message which is "complex relocatable expression not supported". Why do I have to use an absolute variable in the IF statement? (my MCU is RS08)

Outcomes