Decoding the Volatile keyword in C through Assembly Code

Provided by: Auricle Technologies
Topic: Software
Format: PDF
The growing complexity and high efficiency requirements of embedded systems call for new code optimization techniques and architecture exploration, using re target able C and C++ compilers. The first commercial tools are already in industrial use. The volatile keyword is intended to prevent the compiler from applying any optimizations on objects that can change in ways that cannot be determined by the compiler. In this paper, the authors have tried to decode this volatile keyword mystery by digging into the assembly code generated by implemented C program.

Find By Topic