Hi
I know nothing about anything, however I had a look around and found...
http://digital.ni.com/public.nsf/allkb/ ... 990057F919
a snippet...
1. Use the parity bit as a 9th data bit:
Transmission:
You will need to set the port up for 8 data bits.
To add a ninth bit to your transmission, you will need to explicitly set the parity bit to Mark or Space for every byte that is transmitted. Mark is a high parity bit (1), and Space is a low parity bit (0).
For example, if you need to transmit binary 000100010, you would transmit hex 0x88 and set the parity to Space. If you needed to transmit binary 000100011 instead, you would still transmit hex 0x88 but set the parity to Mark. Note that when shown in binary the least significant bit is the leftmost bit, as the least significant bit is sent first in serial transmission.
Reception:
Set the port up for 8 data bits with parity checking enabled, set as either Space or Mark.
Read one byte at a time.
If you get any parity errors you know that the 9th bit is the opposite of what you set.
Append the appropriate bit.
############################
http://www.ti.com/lit/ds/symlink/sn74f280b.pdf
Struck me to consider "could the logic gates be simulated in software" and give an 8 bit transmittable answer, reversible at the receiver end?

- logic gate.PNG (43.63 KiB) Viewed 6970 times