Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/16/02 21:59
Read: times


 
#23073 - RE: need help on parity bit plz
Mahmood Elnasser wrote:
-------------------------------
Hi
Can anybody tell me how to use the parity bit and how to check it efficiently in RI interrupt.
I need odd parity

Hi Mahmood,
Put the incoming data in the accumulator. The PSW (program status word) then contains tha parity of the data.

and what shall i do if parity bit is wrong. Do i through the incomming byte away or do i receive it with a flag indicating parity error?

I think that depends on what you want to do yourself. If you throw the data away, how will the transmitter know ? Probably better to return an ACKnowledge or a NotACKnowledge.

Steve

List of 6 messages in thread
TopicAuthorDate
need help on parity bit plz            01/01/70 00:00      
RE: need help on parity bit plz            01/01/70 00:00      
RE: need help on parity bit plz            01/01/70 00:00      
RE: need help on parity bit plz            01/01/70 00:00      
RE: need help on parity bit plz            01/01/70 00:00      
RE: need help on parity bit plz            01/01/70 00:00      

Back to Subject List