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.

An issue with calling a ROM resident routine

I am evaluating the TI CSS/compiler against IAR.  I am looking at the hello.c program on the EKS-LM4F232.  My first edit was to change the baud rate to the virtual serial port.  It did not work so I stepped into UARTStdioInitExpClk which passes the parameters in R0 and R1.  The first function call inside of UARTStdioInitExpClk stomps on R0 and R1.  I did change a compile option so that the arguements are passed differently, I am guessing on the stack.  The first function call works out to be something in the M4 ROM.

My question is:  Are there guidelines for what options to set when calling a ROMed routine?  If so, where do I find them?  I am guessing this is a nuance of StellarisWare, as the function call that stomps on R0 and R1 is a Stellaris API call.

John