pasm to clpru porting guide for PRU

I’m converting some PRU assembly code from pasm to clpru and finding there are some differences. An earlier thread noted some differences between the two (Use LDI, not MOV for loading constants for example).

Has anyone made a porting guide? For example:

#define CH1BIT r30.t8
converts to
.asg r30.t8, CH1BIT



Well I couldn’t find one, so I made one.

Please add to it.


There is in fact difference notes published by TI. Perhaps difficult to locate!

Look in the README.txt file located in the command line package.
This is in the directory ti-cgt-pru_2.1.2.

Here is an excerpt:


I found a porting guide here: