5.3.7.1 How Should I Combine Assembly and C Code?

Assembly code can be written as separate functions that are called from C code or as inline from within the C code. For details, see the following chapter of this user’s guide:

Mixing C and Assembly Code