4 Conditional Branch Summary
One Form | Complement Form | Comment | ||||
---|---|---|---|---|---|---|
Mnemonic |
Common |
Status | Mnemonic |
Common |
Status | |
BRGE | Rd ≥ Rr | S == 0 | BRLT | Rd < Rr | S == 1 | Signed |
BRSH | C == 0 | BRLO | C == 1 | Unsigned | ||
BRNE | Rd ≠ Rr | Z == 0 | BREQ | Rd == Rr | Z == 1 | Unsigned/Signed |
BRBC | - | SREG(s) == 0 | BRBS | - | SREG(s) == 1 | - |
BRCC | C == 0 | BRCS | C == 1 | Simple | ||
BRPL | N == 0 | BRMI | N == 1 | Simple | ||
BRVC | V == 0 | BRVS | V == 1 | Simple |
Note: The Status Register status is a
result of the preceding instruction, for further information see instruction
description. If the preceding instruction is CP, CPI, SUB, or SUBI, the branch will
occur according to column ‘Common Test’.