parity : Java Glossary


Modems often use a crude error detecting mechanism by adding an extra bit to each character sent, so that the number of ones is always even. If static noise reverses one of the bits, the result will no longer have an even number of ones in it and the receiving end will know something has gone wrong. The Intel Pentium CPU (Central Processing Unit) has instructions JPE and JPO to test the parity of a 32 bit chunk without having to programmatically examine the bits individually.

Here is how you could detect the parity

This page is posted
on the web at:

Optional Replicator mirror
on local hard disk J:

Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number