wait instruction in MPC5633M

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

wait instruction in MPC5633M

Jump to solution
1,411 Views
pavelhavlik
Contributor I

Hello

 

I need to use 'wait' instruction with WC field equal 1. Opcode of the instruction according to

EREF 2.0: A Programmer’s Reference Manual for Freescale Power Architecture® Processors

and Power ISA™ Version 2.07

shall be:  0x7C20007C

But I'm getting program exception. Only when I use 0x7C00007C (wait with WC=0), no exception is generated.

Documents above read that if some WC other than 0 is not implemented, bahaviour of the instruction should equal to the one with WC = 0.

I'd like to ask if the instruction (wait with WC=1)  is really not implemented or if I do something wrong.

 

Thank you in advance

Pavel

Labels (1)
Tags (2)
0 Kudos
Reply
1 Solution
1,213 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

The “wait 1,0” instruction (op code 0x7C20007C) is not implemented on the MPC563xM and the execution leads to the IVOR6 (illegal/unimplemented instruction exception).

So that sentence in the EREF RM is not valid for the MPC563xM.

Regards,

Petr

View solution in original post

0 Kudos
Reply
2 Replies
1,214 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

The “wait 1,0” instruction (op code 0x7C20007C) is not implemented on the MPC563xM and the execution leads to the IVOR6 (illegal/unimplemented instruction exception).

So that sentence in the EREF RM is not valid for the MPC563xM.

Regards,

Petr

0 Kudos
Reply
1,213 Views
pavelhavlik
Contributor I

Petr,

thank you for the clarification.

Regards

Pavel

0 Kudos
Reply