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.

TMS320F28335: ASM function parameter

Part Number: TMS320F28335


Hi TI,

I download the lib C2000MCU_IEC60730_4_00_01_00_setup.exe from your website.When I using it,there are ASM files,in the files such as STL_cpu_test.asm,STL_crc_test.asm and so on.In STL_crc_test.asm file,there are functions like uint16_t _STL_CRC_TEST_testSafeRam(uint32_t *copy_address, uint64_t *expected_CRC, uint16_t ramType),in the annotation the parameter copy_address is passed on to the register XAR4 referring to the following picture.

I don't know the reason why the three parameters are passed to the registers like upper picture other than other registers?It doesn't seem like the way during passing on parameters in C functions.Can you tell me why?How to understand it quickly and thoroughly?

Best regards,

Frank