hi everybody ..
if i write:
hoping that R1 is executed if REG(3)=1 and R2 is executed when REG(3)=0 .. but what happens with me is like follows:
if REG(3)=1 then the program will jump one instruction, ignoring R1, jumpting to R2 .. nice ..
but if REG(3) = 0, program won't jump anywhere and it will execute R1 and sequentially executes R2 too .. so in the case of REG(3)=0, both R1 and R2 will be executed ..
how can i separate them .. plz help ..
if i write:
Rich (BB code):
btfss REG,3
goto R1
goto R2
if REG(3)=1 then the program will jump one instruction, ignoring R1, jumpting to R2 .. nice ..
but if REG(3) = 0, program won't jump anywhere and it will execute R1 and sequentially executes R2 too .. so in the case of REG(3)=0, both R1 and R2 will be executed ..
how can i separate them .. plz help ..
Last edited: