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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/17/02 17:00
Read: times


 
#24550 - RE: Bit comparing
As other guys stated above use the exor.
in c:
regc = rega ^ regb;
this way you compare the eight bits at the same time and set the corresponding bit in regc if not equal.

Mahmood

List of 11 messages in thread
TopicAuthorDate
Bit comparing            01/01/70 00:00      
RE: Bit comparing (correction)            01/01/70 00:00      
RE: Bit comparing            01/01/70 00:00      
RE: Bit comparing (correction)            01/01/70 00:00      
RE: Bit comparing (correction)            01/01/70 00:00      
RE: Bit comparing (correction)            01/01/70 00:00      
RE: Bit comparing            01/01/70 00:00      
RE: Bit comparing            01/01/70 00:00      
RE: Bit comparing (correction),error            01/01/70 00:00      
RE: Bit comparing ,error Pranav            01/01/70 00:00      
RE: Bit comparing : Peter            01/01/70 00:00      

Back to Subject List