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

Thanks…

–Mark

Well I couldn’t find one, so I made one. http://elinux.org/EBC_Exercise_30_PRU_porting_pasm_to_clpru

Please add to it.

–Mark

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:

Assembler

I found a porting guide here: http://processors.wiki.ti.com/index.php/PRU_Assembly_Instructions#pasm_vs._clpru

–Mark