Processor Window
The Processor window contains vital information about the execution target.

Program Counter
The Program Counter indicates the address of the next instruction to be executed. The Program Counter is displayed in hexadecimal form, and can be changed when the execution is stopped. When the Program Counter is changed, the current instruction is discarded. After the Program Counter is changed, the user must press the Single step function to jump to the desired address.

Stack Pointer
The Stack Pointer holds the current value of the Stack Pointer which is placed in the I/O area. If the Target has a Hardware stack instead of an SRAM based stack, this is indicated in the Stack Pointer field. The Stack Pointer value can be changed when the execution is stopped.

Cycle Counter
The Cycle Counter gives information about the number of clock cycles elapsed since last reset. The Cycle Counter value is displayed as a decimal value and can be changed when the execution is stopped.

Frequency
The Frequency indicates the target frequency.

Note! When using ICE200 AVR Studio use the cycle counter to calculate the target frequency. When the emulator enters one of the low power modes (sleep) the cycle counter is stopped and therefore the displayed frequency will be wrong.

Flags
The Flags is a display of the current value of the Status register. When the execution is stopped, these bits can be changed by clicking on the flags to change. A checked flag indicates that the flag is set (the corresponding bit in the Status register has the value 1).

Only one Processor window can be active at a time.

See Also
Source Window
Debug Control
  Return to AVR Studio User's Guide