the instruction of evstdd generate an exception

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

the instruction of evstdd generate an exception

1,249 次查看
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 项奖励
1 回复

1,146 次查看
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