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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/05/03 06:14
Read: times


 
#52115 - RE: PSW: Bit \\
Responding to: ???'s previous message
Need a little translation help here? Ok here goes....

The 'bible' in chapter 2 says...



This means that the P bit is a "1" if the number of 1's in the A register is Odd. Likewise the P bit is a "0" if the number of 1's in the A register is Even.

So for your example:

A=1000000b -> #1's is Odd -> P = 1
A=1100000b -> #1's is Even -> P = 0

Michael Karas


List of 7 messages in thread
TopicAuthorDate
PSW: Bit "AC", "P"            01/01/70 00:00      
   RE: PSW: Bit "AC", "P"            01/01/70 00:00      
   RE: PSW: Bit "AC", "P"            01/01/70 00:00      
   RE: PSW: Bit "AC", "P"            01/01/70 00:00      
      RE: PSW: Bit \\            01/01/70 00:00      
         RE: PSW: Bit \\            01/01/70 00:00      
            RE: PSW: Bit \\            01/01/70 00:00      

Back to Subject List