AnsweredAssumed Answered

S32 5744p debug issue

Question asked by hu on May 15, 2017
Latest reply on Jun 20, 2017 by Martin Kovar

I want to use an integer pointer variable to keep the address of GPR r1 in S32DS with MPC5744P,please give me some suggestions,thank you!

 

the text below are my codes,and it can not work right in debug mode.

unsigned int *stk_temp;

……

PPCASM("e_lis %r3,stk_temp@h");

PPCASM("e_ori %r3,%r3,stk_temp@l");

PPCASM("e_stw %r1,0x0(%r3)");

Outcomes