| ??? 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 |
| Topic | Author | Date |
| 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 |



