I have a variable assigned as

CONTROL VAR BYTE at the start of my program

In the assembler interupt I set bit 1 with
bsf _CONTROL,1

and later in Basic I check for the bit set with
IF CONTROL.1 =1 THEN
;do action
ENDIF

I _know_ for sure that the line immediately before bsf _control,1 is
executed correctly, leading to the assumption that this line gets executed too.

The problem is that I can never get the final Basic test to be true even
though I know that the bit is set in the interupt.

I normally program in assembler so PBP is new to me, what are the conditions
which need to be met in order to share a variable, and why won't this code work?

Regards
Chris

There are 10 types of people in the world.......
....Those who understand binary and those who don't !