E200Z6 core instruction set manual

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

E200Z6 core instruction set manual

ソリューションへジャンプ
3,508件の閲覧回数
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

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
2,297件の閲覧回数
akovalev
NXP Employee
NXP Employee

Hi Pierre,

Programming Reference

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

regards

Andrei

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
2,298件の閲覧回数
akovalev
NXP Employee
NXP Employee

Hi Pierre,

Programming Reference

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

regards

Andrei

0 件の賞賛
返信
2,297件の閲覧回数
pierreschmidt
Contributor III

Thanks,

That's exactly what I was looking for.

Best regards.

Pierre

0 件の賞賛
返信
2,297件の閲覧回数
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 件の賞賛
返信
2,297件の閲覧回数
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 件の賞賛
返信
2,074件の閲覧回数
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 件の賞賛
返信