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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/01/04 16:31
Read: times


 
#67771 - RE: Shifting/Rotating
Responding to: ???'s previous message
hi,

In short: there is no Carry Flag in C-language.
unsigned char a, i;

  for (i = 0; i < 8; i++)
  {
    if ((a & 0x01) == 0x00)
      some_routine();
    a >>= 1;
  }

Regards,
Oleg

List of 15 messages in thread
TopicAuthorDate
Shifting/Rotating            01/01/70 00:00      
   RE: Shifting/Rotating            01/01/70 00:00      
      RE: Shifting/Rotating            01/01/70 00:00      
         RE: Shifting/Rotating            01/01/70 00:00      
   RE: Shifting/Rotating            01/01/70 00:00      
   Horses for Courses            01/01/70 00:00      
   RE: Shifting/Rotating            01/01/70 00:00      
      RE: Shifting/Rotating            01/01/70 00:00      
         RE: Shifting/Rotating            01/01/70 00:00      
         RE: Shifting/Rotating            01/01/70 00:00      
            RE: Shifting/Rotating            01/01/70 00:00      
               RE: Shifting/Rotating            01/01/70 00:00      
                  RE: Shifting/Rotating            01/01/70 00:00      
                  RE: Shifting/Rotating            01/01/70 00:00      
                     RE: Shifting/Rotating            01/01/70 00:00      

Back to Subject List