I found a porting guide here: http://processors.wiki.ti.com/index.php/PRU_Assembly_Instructions#pasm_vs._clpru
--Mark On Saturday, July 23, 2016 at 1:05:19 PM UTC-4, Greg wrote: > > 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 > > > ------------------------------------------------------------------------------- > Instructions > > ------------------------------------------------------------------------------- > The syntax for instruction mnemonics is very similiar to the existing PASM > assembler. Exceptions are listed here: > > 1. MOV instruction > MOV is only supported for register to register moves. The LDI > instruction > must be used to load a literal into a register. > > 2. LDI instruction > LDI can only be used to load a 16-bit constant into a register. To load > a > 32-bit constant, you must use the LDI32 instruction. > > 3. MVI instruction > MVI is only supported on core revisions 2 and 3. The existing PASM > assembler > supports the instruction in a limited form for v1 using pseudo > operations. > > 4. ZERO instruction > ZERO is only supported on v2 and v3 cores. For v1, the user should use > LDI r0, 0. > > 5. LFC, SFC, and SCAN > These instructions are not supported. If support is needed we can add > them. > > 6. Operands with a '&' prefix > The existing PASM assembler accepts operands with or without the & > symbol: LBBO &r0 or LBBO r0. The assembler in this release requires the > & for these operands. > > There is a bit more than the above. > > Regards, > Greg > > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/1bc35b6b-e580-4828-a3d1-33e624b93f92%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
