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.

CCS/MSP430FR6989: Use C Function Parameter in inline Assembler MSP430FR6989

Part Number: MSP430FR6989

Tool/software: Code Composer Studio

Hallo.

I have C Function with two Parameter:

void FunctionTest (uint16_t *const timerName, uint8_t channel)

{

asm("mov.b channel, r13") ; //Value channel in R13

asm("mov.w  timerName, r15") ; //Value timerName in R15

}

I want to write Function Input Parameters in  CPU Register. But I get Errors. How can I get Funktion Parameters in CPU Register in likebel way?

Do you know TI Dokuments that describes handling from MSP430FR6989 C and Assembler and both together and Assembler Commands?

Thanks in Adwance

Alex