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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/05/03 22:16
Read: times


 
#42961 - RE: 8051 how to swap the bits...
Responding to: ???'s previous message
In assembler, you could use Michaels approach, but with just a 4-bit lookup table to reverse the bits in one half of the byte, then use the SWAP instruction and repeat for the other nibble.

It all depends on whether raw speed or minimum code space is your primary concern.

List of 24 messages in thread
TopicAuthorDate
how to swap the bit,,,urgent            01/01/70 00:00      
   RE: how to swap the bit,,,urgent            01/01/70 00:00      
      RE:8051 how to swap the bit,,,urgent            01/01/70 00:00      
         RE: RE:8051 how to swap the bit,,,urgent            01/01/70 00:00      
         RE: 8051 how to swap the bits...            01/01/70 00:00      
            RE: 8051 how to swap the bits...            01/01/70 00:00      
   RE: how to swap the bit,,,urgent            01/01/70 00:00      
      RE: how to swap the bit,,,urgent            01/01/70 00:00      
         RE: how to swap the bit,,,urgent - Hans            01/01/70 00:00      
            RE: how to swap the bit,,,urgent - Hans            01/01/70 00:00      
               RE: how to swap the bit,,,urgent - Hans            01/01/70 00:00      
                  RE: how to swap the bit,,,urgent - Hans            01/01/70 00:00      
   RE: how to swap the bit,,,urgent            01/01/70 00:00      
      RE: how to swap the bit,,,Menno            01/01/70 00:00      
         RE: how to swap the bit,,,Michael            01/01/70 00:00      
         RE: how to swap the bit in C            01/01/70 00:00      
            RE: how to swap the bit in C            01/01/70 00:00      
   RE: how to swap the bit if 64 bits            01/01/70 00:00      
      RE: how to swap the bit if 64 bits            01/01/70 00:00      
         RE: how to swap the bit if 64 bits            01/01/70 00:00      
         RE: how to swap the bit if 64 bits            01/01/70 00:00      
   RE: how to swap the bit,,,urgent            01/01/70 00:00      
      RE: how to swap the bit,,,/...Vivek            01/01/70 00:00      
      RE: how to swap the bit,,,urgent            01/01/70 00:00      

Back to Subject List