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.

汇编函数参数传递



您好!我在用C2000MCU_IEC60730_4_00_01_00_setup.exe.库里面有汇编文件,比如目录

C:\..\IEC60730\C2000MCU_IEC60730_4_00_01_00\IEC60730_STL_Library_v4_00_01_00\IEC60730_safety\v4_00_01_00\source\c28x下的STL_crc_test.asm文件里面的函数uint16_t _STL_CRC_TEST_testRam(uint32_t *pStartAddress, uint32_t *pEndAddress, uint64_t *expectedCRC) ,在此函数的实现中形参pStartAddress是传入XAR4,pEndAddress传给XAR5,expectedCRC传给-sp[4]。

我想咨询一下这些参数是怎么传递的?该如何理解?感觉跟C函数的传参方式不太一样。谢谢!