the instruction of evstdd generate an exception

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

the instruction of evstdd generate an exception

1,226 Views
tiganhee
Contributor I

Hello, 

my mcu is MPC5644, compile is windriver diab.

question #1:

I decalre a unsigned long long variable  named zz,but the program is run error when the varible zz is wrote by 0x1234567887654321. the address of zz is 0x400000b8. Source code is attchment, pls help me to find the reason of the program generate the excepton.

question #2:

what mean by "EXTZ(UIMM*8) " in the instruction of evstdd , refer to e200z4RM.pdf

pls see to the attachment#2.

thank you verymuch.

0 Kudos
1 Reply

1,123 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

1. You need to enable SPE, otherwise an exception is triggered:

 

pastedImage_1.png

2. Here is an explanation from https://www.nxp.com/docs/en/reference-manual/SPEPEM.pdf 

pastedImage_5.png

Regards,

Lukas