Reset while asm("bne ") in S32DS POWER

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

Reset while asm("bne ") in S32DS POWER

Jump to solution
786 Views
bjrajendra
Senior Contributor I

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

 

 

 

pastedImage_3.png

 

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

 

Kindly help in this regard.

Labels (2)
0 Kudos
1 Solution
647 Views
bjrajendra
Senior Contributor I

Hello all,

Solved from thread Branch Instruction for S32DS Power.

It is actually the problem with the assembly instruction.

Raju

View solution in original post

0 Kudos
1 Reply
648 Views
bjrajendra
Senior Contributor I

Hello all,

Solved from thread Branch Instruction for S32DS Power.

It is actually the problem with the assembly instruction.

Raju

0 Kudos