PRU Opcodes

Hi,

I started decoding pasm assembly into raw PRU instructions.The list of findings is here:
http://pastebin.com/2y7uRRwA

Almost every insruction is decoded, the only exception is SXIN/SXOUT/SXCHG, which is not supported by the PRUv1 compiler.
Multiplication doesn’t seem to be an instruction, instead it is a separate unit on the RTB which is reachable via XIN/XOUT instructions.
The documentation for SCAN instruction is missing, though the AM335x TRM refers to it at least 4 times, so it’s probably still a valid instruction.
Its documentation for PRUSSv1 is on the wiki though: http://processors.wiki.ti.com/index.php/PRU_Assembly_Instructions#Register_Field_Scan_.28SCAN.29

The most probable location for SXIN/SXOUT/SXCHG (which is really just one instruction with separate direction bits) would be either opcodes 0x30-0x31,
or setting the unknown “y” bit to 1 in the original XIN/XOUT/XCHG.

Any comments are welcome.