asm volatile

In message , Wilco Dijkstra writes

Where you do need assembler to do something specific you want exactly that (often timing, cycles and space are important) and not have the compiler monkey around with it.

Where you do want assembler put it in a separate pure assembler function. If the overhead is much then the last thing you need is the compiler playing about "optimising it"

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills  Staffs  England     /\/\/\/\/
/\/\/ chris@phaedsys.org      www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Reply to
Chris H
Loading thread data ...

Grant Edwards schrieb:

Damn!

How could have I overlooked that that guy was to lazy to do any kind of resarch on his own. I'm one of those who get annoyed by all those "use google dammit"-questions we have to read all the time.

Sorry about my rant - I hope everyone here feels guilty to answer to such a questions once a year....

Nils

Reply to
Nils

... snip ...

I find that eggs become rather vile some time before volatility.

--
 [mail]: Chuck F (cbfalconer at maineline dot net) 
 [page]: 
            Try the download section.
Reply to
CBFalconer

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.