i'm not sure on how PBP handle WRITE when using a WORD sized var but i think Sharky was right on his previous post.

SO what about using something like...

Code:
MyVar      var word
AnotherVar var word

myvar=12345
    
    Write 0,Myvar.highbyte
    write 1,myvar.lowbyte
        ' code
        ' code
        ' code
        ' code
    Read 0,anothervar.highbyte
    read 1,anothervar.lowbyte