Texas Instruments MSP50C614 User Manual

Page 359

Advertising
background image

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

Advertising