Thanks Richard.

It was the xor process that I was missing.

Cheers
Barry
VK2XBP