This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Simple assembler function with RM46

Other Parts Discussed in Thread: CODECOMPOSER, TMS570LS3137

Hi,

I would like to call an assembler function from C-Code (generated with CodeComposer) and

then call an assembler routine from another assembler routine.

- I dont know how I can save registers and other things on the stack.

- I dont know which registers I have to save.

- I dont know how to call a assembler subroutine from a assembler routine without destroying registers, stackpointers and program counter.

Maybe you can provide a small assembler code snippet.