Main Page   Modules   Related Pages  

Jumps

A few details
There are 4 jump instructions:
When a jump is detected into the pipeline, next two instructions (that were already uselessly fetched from the Program Memory) are flushed. Then, the Program Memory manager is asked permission to access the Program Memory and to modify the instruction flow (modify the Program Counter).
After that, unless it gets flushed or stalled by an older instruction, the jump instruction will configure the pipeline to fetch from the new PM address.

RJMP and JMP take 3 clocks, while IJMP and EIJMP take 4 clocks.
Jump state machine

pavr_pipe_jumps_01.gif


Generated on Sat Jul 3 08:13:38 2004 for Pipelined AVR microcontroller by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001