Tool/software: TI C/C++ Compiler
Hi,
I am currently porting a functional pasm program to a c code wrapper (thus keeping as much of the assembler code as possible)
In the original program a struct is defined as following:
.struct AppParams
.u32 RunFlag
.u32 DDRBaseAddress
.u32 DDRBytesAvailable
.u32 delayCycles
.u32 numChannels
.ends
I would like to port this into an __asm__ __volatile(...) format, however I haven't succeeded yet.
I tried the format written in the spruhv6 manual, as well as some minor changes.
What is the right format for defining an asm struct that can be compiled by clpru 2.1.5?
Kind regards,
Rens