Dear All, I am very much new to the keil assembler and c language usage in embedde programming. Can anybody help me to sort out some of my problems ? 1. Can I access any of the flags using C language ? 2. If no how can I add assembly code in the '.C' file ? 3. How can I shift the content of a register to right/ left using C ? These are assumed to be not a processor specific questions. Please help Deepak
1. Yes. Whether or not it's a good idea is a separate question. For example, you can write code like this:
a = b + c; if (CY) { HandleOverflow(); }