Sorry for the lengthy delay in replying.

I've downloaded the 16F877 datasheet and obtained a couple of units for experimentation - this seems to be the ideal solution and I thank you all for your imput.

best wishes