This document is a technical note on using Analog Devices' DSP components and development tools. It provides helpful steps for interfacing assembly code and C language.
This document provides a technical guide for programmers working with Analog Devices DSP components and development tools. It details the steps required to write assembly language subroutines that can be called from C code, ensuring compatibility with the C runtime model. The text covers creating function prototypes, handling arguments passed in registers versus on the stack, and managing specific processor registers.
It contains helpful steps a programmer can use to interface assembly code and C safely and efficiently.
The C compiler normally prefaces the name of external entry points with an underscore, so the function should be declared with an underscore.
Preserved registers must be saved first and then restored before returning to the caller.