Texas Instruments MSP50C6xx User Manual
Page 331
Implementation Details
5-35
Code Development Tools
C to ASM function call. The stack is shown after the operation on the bottom
is performed.
|
|
|
|
|
|
|––––––––––––––|
|––––––––––––––|
|––––––––––––––|
|
|
|
|
|
|
|––––––––––––––|
|––––––––––––––|
|––––––––––––––|
|
|
|
|
|
|
|––––––––––––––|
|––––––––––––––|
|––––––––––––––|
|
|
|
|
|
|
|––––––––––––––|
|––––––––––––––|
|––––––––––––––|
|
|
|
|
|
|
|––––––––––––––|
|––––––––––––––|
|––––––––––––––|
|
|
|
|
|
|
|––––––––––––––|
|––––––––––––––|
|––––––––––––––|
|
|
|
|
|
|
|––––––––––––––|
|––––––––––––––|
|––––––––––––––|
|
|
|
|R7 |Param 2
|
|––––––––––––––|
|––––––––––––––|
|––––––––––––––|
|
|
|
|
|Param 2
|
|––––––––––––––|
|––––––––––––––|
|––––––––––––––|
|
|R7 |Param 1
|
|Param 1
|
|––––––––––––––|
|––––––––––––––|
|––––––––––––––|
|
|
|Param 1
|
|Param 1
|
|––––––––––––––|
|––––––––––––––|
|––––––––––––––|
R7,R5
|Stack data
|R5 |Stack data
|R5 |Stack data
|
|––––––––––––––|
|––––––––––––––|
|––––––––––––––|
Before call
Parameter 1
Parameter 2