Thanks for all the replies.

I have just checked my microcode studio and it is currently using MPASM, thanks for the pointer though, if this was set wrong I would have never found it...

I'll have a play with the code posted tomorrow, and post how I get on.

Cheers,
AD.