For the 8085? How about using the Parity flag?

 

Jeff Birt

 

From: M100 <[email protected]> On Behalf Of Stephen Adolph
Sent: Wednesday, December 18, 2024 4:56 PM
To: [email protected]
Subject: SPAM-LOW: [M100] Quick way to calculate parity?

 

Hi all you assembly programmers.

 

I'm trying to code up a fast way to calculate parity of an 8 bit value without 
relying on the parity flag itself.

 

I have a solution that is abut 40 bytes long and is a loop that checks each bit 
and manually calculates parity bit.  

 

Is there a quick way I am missing?

 

Thanks 

Reply via email to