V - overflow
I1 - Interrupt mask level 1

H - Half carry bit -
The H bit is set to 1 when a carry occurs between the bits 3 and 4 of the ALU during an ADD or ADC instruction
Set, when last result is negative
16 bit variable, indicates next free location on stack.
Consider the program based on previous labs which presents the behavior of chosen flags of CC:
ld A,#$FE
add A,#$1
add A,#$1
ld A,#$E
add A,#$1
add A,#$1
ld A,#$1
sub A,#$1
sub A,#$1
ld A,#$2
sub A,#$1
sub A,#$1
What is the relation between CC and Interrupts ?
When an interrupt occurs, the CPU registers (CC, X, Y, A, PC) are pushed onto the stack. This operation takes 9 CPU cycles and uses 9 bytes in RAM.
What is the Stack size of our MCU?
64KBytes
The stack pointer is a 16-bit register.
What value is adopted by Stack Pointer after the MCU reset (default value) and why ?
After an MCU reset the Stack Pointer is set to its upper limit value.
What is the lowest value which Stack Pointer can adapt and why ?
The stack pointer is a 16-bit register. It contains the address of the next free location of the stack. Depending on the product, the most significant bits can be forced to a preset value.
Is there any similarity between CC behaviour and some Sequential digital circuit (which one?)
Find and read about following ASM instructions (Programing Manual):
CALL
The current PC register value is pushed onto the stack, then PC is loaded with the destination address in same section of memory. The CALL destination and the instruction following the CALL should be in the same section as PCE is not stacked. The corresponding RET instruction should be executed in the same section. This instruction should be used versus CALLR when developing a program.
CALLR
RET
TRAP
IRET