electroRF
Member
Hi,
I wanna write an Assembly function asmFunc which takes 3 parameters.
The function will do something and will then call cFunc and would pass the same untouched three parameters to cFunc.
Since the parameters are saved in registers R0, R1, R2, it means that I can simply call cFunc, and cFunc would get the same 3 parameters, right?
Thank you.
I wanna write an Assembly function asmFunc which takes 3 parameters.
The function will do something and will then call cFunc and would pass the same untouched three parameters to cFunc.
Since the parameters are saved in registers R0, R1, R2, it means that I can simply call cFunc, and cFunc would get the same 3 parameters, right?
Thank you.