Ray, I stand corrected. I was thinking peek came from a different language, but I see it is a valid pbp command, though according to the book not recommended.

As for the movelf, well I think that is some ask haunting you. In pbp you would just use
Code:
plldataout =plldata
So yes I still think that's the basic idea.
Oh yea, loop is a reserved word in latest release of pbp, so not a good choice for your label.