where can I find a detailed instruction set document for MPC5668 (e200 Z6 core) processor? The E200Z6 reference manual only contains description for some instructions but doesn't list them all.
That's exactly what I was looking for.
The EREF does not seem to contain some instructions.
example1: the load immediate & load immediate shift
li r5, 78
lis r5, 78
the e_li instruction shows up regularly if i dissassemble c-code in code warrior!
I am using code warrior to program the freescale MPC5668EVB board.
In the examples area for mpc56xx there are some of these instructions: C:\Program Files\Freescale\CW for MPC55xx and MPC56xx 2.9\(CodeWarrior_Examples)\563xM-CW\Decrementer\src\__ppc_eabi_init.c
/* the inline assembler can not translate 2 instructions into 1 */
lis r5, 0xffff
ori r5, r5, 0xfff1
the EREF manuel from above does not explain this code!
Is there some guide on how to understand the examples with code warrior and program some good practice assembly for these targets?
That may not be a complete answer to your question, but e_li instruction is the VLE equivalent of li instruction. VLE instructions are described in the VLEPEM: http://cache.freescale.com/files/32bit/doc/ref_manual/VLEPEM.pdf
Moreover, some instructions can be written is a different way, a simpler way, and be reinterpreted by the compiler into real PowerPC instruction. These are called simplified mnemonics. Their description can be found in Appendix B of the EREF aforementioned.
Retrieving data ...