涛 李

Assembly function argument pass

Discussion created by 涛 李 on Mar 19, 2018
Latest reply on Mar 21, 2018 by Carlos Neri

Hi NXP,

I'm coding assembly language on MK66FN2M0VMF18 processor.When I code a function in C format named uint8_t(uint8_t Address,uint32_t Data,uint8_t *p),and then the function will be called in the C source file.I want to know where the three arguments 'Address' 'Data' 'p' would be passed to in MK66FN2M0VMF18's registers.The store registers decide my assembly language.Can you give me some related docs or links?

Best regards,

Frank 

Outcomes