SPRU514Z July 2001 – October 2023 SM320F28335-EP
You can use the .cdecls assembler directive to share C headers with declarations and prototypes between C and assembly code. Any legal C/C++ may be used in a .cdecls block. C/C++ declarations will cause suitable assembly to be generated automatically, allowing you to reference C/C++ constructs in assembly code. For more information, see the C/C++ header files chapter in the TMS320C28x Assembly Language Tools User's Guide.