Texas Instruments MSP50C614 Stereo System User Manual


 
Implementation Details
5-59
Code Development Tools
||
|––––––––––––––|
||
|––––––––––––––|
||
||
|––––––––––––––|
||
|––––––––––––––|
R7 |Return Addr |
|––––––––––––––|
|Return Addr |
|––––––––––––––|
|Param 2 |
|––––––––––––––|
|Param 2 |
|––––––––––––––|
|Param 1 |
|––––––––––––––|
|Param 1 |
|––––––––––––––|
R5 |Stack data |
|––––––––––––––|
Function call
C to ASM function return
||||
|––––––––––––––| |––––––––––––––|
||||
|––––––––––––––| |––––––––––––––|
||||
|––––––––––––––| |––––––––––––––|
||||
|––––––––––––––| |––––––––––––––|
||||
|––––––––––––––| |––––––––––––––|
|Return Addr | |Return Addr |
|––––––––––––––| |––––––––––––––|
|Return Addr | |Return Addr |
|––––––––––––––| |––––––––––––––|
R7 |Param 2 | |Param 2 |
|––––––––––––––| |––––––––––––––|
|Param 2 | |Param 2 |
|––––––––––––––| |––––––––––––––|
|Param 1 | |Param 1 |
|––––––––––––––| |––––––––––––––|
|Param 1 | |Param 1 |
|––––––––––––––| |––––––––––––––|
R5 |Stack data |R7,R5 |Stack data|
|––––––––––––––| |––––––––––––––|
RET SUBB R7, 4