Part Number: LAUNCHXL-F28377S
Tool/software: Code Composer Studio
Hi,
I am trying to run a Assembler function C.
... extern unsigned int asmfunc( int Vref, int Vadc, int b0); void main(void) { test = asmfunc( 4, 5, 8); } ...
SPRU514L on page 145/203 Chapter 7.3.1 5:
You can see that int Vref is placed in AL Register and Vadc placed in the AH register. This part works fine.
But b0 ist placed in the stack.
How can i geht access to value of b0?
SPRU430F on page 85/551 i tried the different stack addressing modes
.global _asmfunc _asmfunc: ; AL = 4 ; AH = 5 ADDL ACC, *-SP[1]