G
Ganga
Please, will anyone explain me difference between 'register' and
'volatile' variables
'volatile' variables
Ganga said:Please, will anyone explain me difference between 'register' and
'volatile' variables
Register keyword for a variable will force the compiler backend to giveGanga said:Please, will anyone explain me difference between 'register' and
Volatile Keyword for a variable will prevent variable from'volatile' variables
Register keyword for a variable will force the compiler backend to giveGanga said:Please, will anyone explain me difference between 'register' and
Volatile Keyword for a variable will prevent variable from'volatile' variables
Umesh said:Register keyword for a variable will force the compiler backend to give
register.
so by this compiler can acess the variable without store
instruction(i.e it can use mov instruction).
Volatile Keyword for a variable will prevent variable from
optimization.
Ganga said:Please, will anyone explain me difference between 'register' and
'volatile' variables
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.