6.32.2 Status Register (SREG) and Boolean Formula

ITHSVNZC

Example:

      mov   r16,r0    ; Copy r0 to r16
      call  check     ; Call subroutine
      nop             ; Continue (do nothing)
      ...
check:
      cpi   r16,0x42  ; Check if r16 has a special value
      breq  error     ; Branch if equal
      ret             ; Return from subroutine
      ...
error: 
      rjmp  error     ; Infinite loop
Words
2 (4 bytes)
Table 6-32. Cycles
NameCycles
16-bit PC22-bit PC
AVRe4(1)5(1)
AVRxm3(1)4(1)
AVRxt34
AVRrcN/AN/A
Note:
  1. Cycle times for data memory access assume internal RAM access and are not valid for accessing external RAM.