Hello,
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.
Thanks.
P.SCHMIDT
Solved! Go to Solution.
Hi Pierre,
Programming Reference
http://cache.freescale.com/files/32bit/doc/ref_manual/EREF_RM.pdf
regards
Andrei
Hi Pierre,
Programming Reference
http://cache.freescale.com/files/32bit/doc/ref_manual/EREF_RM.pdf
regards
Andrei
Thanks,
That's exactly what I was looking for.
Best regards.
Pierre
Hi,
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
#if VLE_ON
/* the inline assembler can not translate 2 instructions into 1 */
e_li r5,0xFFFFFFF1
#else
lis r5, 0xffff
ori r5, r5, 0xfff1
#endif
the EREF manuel from above does not explain this code!
Question:
Is there some guide on how to understand the examples with code warrior and program some good practice assembly for these targets?
thanks,
Luc,
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.
Étienne
Just as a "useful reference for the future", for anyone else who stumbles across this thread.
The website
https://developer.ibm.com/articles/l-ppc/
also contains some useful information around assembly mnemonics and also some of the suffixes used by the assembler e.g. "@ha" and "@l".