AnsweredAssumed Answered

Indirect branching jump error

Question asked by bartvanderlaan on Apr 16, 2015
Latest reply on Apr 20, 2015 by AlClark

Hi,

 

I'm trying to jump to a specific line in the code after a jump instruction, but the PC ends somewhere else.

 

m8 = 7;

i8 = branch_start;

jump(m8,i8);

 

branch_start:

 

     jump(instr1);

     jump(instr2);

     jump(instr3);

     jump(instr4);

     jump(instr5);

     jump(instr6);

     jump(instr7);

     jump(instr8); //trying to end up here

     jump(instr9);

 

branch_end:

 

     something else;

     something else;

     something else;

     something else; //but in real life I'm ending up here

 

The DAG2 registers are correct.

Any idea where to start looking for the reason of this behaviour?

 

Background information: VisualDSP++ V5.1.0.0 , 21489

 

Thanks!

Outcomes