Bruce,

That all works just great - thank you.

I notice that you:

1. Put an underscore (_) infront of the label that PBP jumps to (_Main_ASM).
2. Not in front of the 'identifier' names of the variable shared between PBP and ASM.

I thought the shared variables needed to:

1. Be declared in PBP.
2. Have an underscore when used in ASM.

Page 194 in the BPB handbook? I'm obviously wrong because the code works?

Regards Bill Legge