This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ST10F269 incorporates a jump cache,how to turn off the function of this cache?

I am programming a algorithm with assembler in ST10F269. But this typ of microcontroller incorprates a jump cache.

If the instruction is repeated in a loop, the target instruction( JMPA,JMPR,JB,JBC,JNB,JNBS) is additionally stored in the cache. For execution of the repeated cache jump instruction, the jump target instruction is not fectehed from program memory but taken from the cache and immediately injected into the decode stage of the pipeline.The jump cache reduces the execution time of repeatedly performed jumps in a loop, from 2 cycles to 1 cycle.

But this is not I want to see, because I want the working time of each loop always to be the same, even the first jump and the repeated jumps after.

Is there some idea to avoid using this jump cache,or when I use the 'calla ' order instead of 'jumpa ', it will be not problematic ? because 'calla' is not mentioned.

0