AnsweredAssumed Answered

Use C Structure in asm code in using CCES for ADSP214x

Question asked by MZC on Sep 8, 2014
Latest reply on Sep 8, 2014 by CraigG

Hi,

 

I want to use C structure in asm code in CCES. I tried following

 

C Header file: define.h

 

typedef struct{

     float level;

     float gain;

} ChannelStruct;

 

extern ChannelStruct Channel[Number];

 

ASM Code:


.IMPORT "define.h"

.Extern STRUCT ChannelStruct _Channel;

 

.........

 

 

"Catastrophic error: could not open source file "define.h"

 

Any Solution how to use structure in asm with some demo example will be appreciated.

 

Best Regards,

 

Mussab Zubair

Outcomes