| ??? 05/27/04 07:02 Read: times |
#71315 - RE: Rotate thru carry in C Responding to: ???'s previous message |
I won't comment on the wisdom of relying on CY to behave the way you expect for each of the Keil, Franklin, Raisonance, SDCC, etc. toolchains, but I will say that when used in a context like the following, it won't even compile:
if (something)
RLC(num);
else
/* ... */
For proper semicolon handling, multi-statement macros should use: do {/* multiple statements */} while (0)
|
| Topic | Author | Date |
| Rotate thru carry in C | 01/01/70 00:00 | |
| RE: Rotate thru carry in C | 01/01/70 00:00 | |
| RE: Rotate thru carry in C | 01/01/70 00:00 | |
| RE: Rotate thru carry in C | 01/01/70 00:00 | |
| RE: Rotate thru carry in C | 01/01/70 00:00 | |
| RE: Rotate thru carry in C | 01/01/70 00:00 | |
| DO *NOT* DO THIS! | 01/01/70 00:00 | |
| RE: DO *NOT* DO THIS! | 01/01/70 00:00 | |
| RE: Rotate thru carry in C | 01/01/70 00:00 | |
| RE: Rotate thru carry in C | 01/01/70 00:00 | |
| Wrong approach. | 01/01/70 00:00 | |
| RE: so often | 01/01/70 00:00 | |
| Also on the Keil forum | 01/01/70 00:00 | |
Link trouble again | 01/01/70 00:00 |



