E200Z6 core instruction set manual

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

E200Z6 core instruction set manual

Jump to solution
3,117 Views
pierreschmidt
Contributor III

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

Labels (1)
Tags (2)
0 Kudos
1 Solution
1,906 Views
akovalev
NXP Employee
NXP Employee

Hi Pierre,

Programming Reference

http://cache.freescale.com/files/32bit/doc/ref_manual/EREF_RM.pdf

regards

Andrei

View solution in original post

0 Kudos
5 Replies
1,907 Views
akovalev
NXP Employee
NXP Employee

Hi Pierre,

Programming Reference

http://cache.freescale.com/files/32bit/doc/ref_manual/EREF_RM.pdf

regards

Andrei

0 Kudos
1,906 Views
pierreschmidt
Contributor III

Thanks,

That's exactly what I was looking for.

Best regards.

Pierre

0 Kudos
1,906 Views
lucvandeuren
Contributor II

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,

0 Kudos
1,906 Views
EAlepins
Contributor V

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

0 Kudos
1,683 Views
jarmisteadgal
Contributor I

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".

 

0 Kudos