??? 04/01/04 15:45 Read: times |
#67768 - Shifting/Rotating |
Hi all
I'm using Keil uV2. In assembler you can rotate right and carry with the following instruction: rrc A. Which means each time you rotate, the bit that is rotated is also sent to the carry flag. But how do you do this in C? I know you rotate like this: A = >>1. But I dont know how you instruct it to go to the carry flag. The reason it must go to the carry flag is that as soon as a zero is sent to it it must jump to a certain instruction. Can anybody help me? Regard, KY |
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 |