AnsweredAssumed Answered

Reset while asm("bne  ") in S32DS POWER

Question asked by BJ RAJENDRANATH on Dec 25, 2019
Latest reply on Dec 31, 2019 by BJ RAJENDRANATH

Hello all,

 

I'm migrating my MPC5602P device software from CCW to S32DS Power.

 

In fact, I'm using asm("bne  btd") to branch (in case if non zero flag exists) to 

 

asm("btd:") ;

{

   XXXX;

}

 

looks like there is something wrong in assembly code which actually seen in Disassembly Section. Below is the screenshot for the same

 

 

 

 

Also, it resets once the asm(""bne- btd") instruction executes.

 

Kindly help in this regard.

Outcomes