I | T | H | S | V | N | Z | C |
– | – | – | – | – | – | – | – |
Example:
mov r16,r0 ; Copy r0 to r16
call check ; Call subroutine
nop ; Continue (do nothing)
...
check: cpi r16,$42 ; Check if r16 has a special value
breq error ; Branch if equal
ret ; Return from subroutine
...
error: rjmp error ; Infinite loop
4 devices with 16-bit PC
5 devices with 22-bit PC
3 devices with 16-bit PC
4 devices with 22-bit PC