This article describes using inline assembly code in your C/C++ program... was it ever difficult for you, will never be any more!
Introduction
First of all, what does term "inline" mean?
Generally the inline term is used to instruct the compiler to insert the code of a function
into the code of its caller at the point where the actual call is made. Such functions are
called "inline functions". The benefit of inlining is that it reduces function-call overhead.