Tool/software: TI C/C++ Compiler
Dear:
I define a function void vClax(float *p, short iPhase) witch writed in ASM. I Call this function in C . When I buide the project with Code Generation tools V18.1.1LTS in ccsv8,the C pass the pointer argument *p in MAR1. The disassembler of the function call list below.
vClax(&fArray, 0);
78400000 MMOVIZ MR0, #0X0
7FE084C0 MMOV16 MAR1, #0x84C0
7FD00000 MMOV16 MAR0, MR0, #0
799FF192 MCCNDD 0xF192, UNCF
7FA00000 MNOP
7FA00000 MNOP
78400000 MOVIZ MR0,#0
But when I buide the project with Code Generation tools V16.9.3LTS in ccsv8,the C pass the pointer argument *p in MAR0. The disassembler of the function call list below.
vClax(&fArray, 0);
7FC084C0 MMOV16 MAR0,#0x084C0
799FF18C MCCNDD 0xF18C, UNCF
7FA00000 MNOP
7FA00000 MNOP
78400000 MOVIZ MR0,#0
The function vClax() can not run correctly with Code Generation tools V 18.1.1LTS because of The difference between the two Code Generation tools. How can I solve this problem?