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
.asg r30.t8, CH1BIT
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.
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: