bmi
Sizes
byte, short, word, long
Affected Flags
X
N
Z
V
C
-
-
-
-
-
Operands
Op 1
Ea/<label>
Branches to the specified address if "Minus"
Branches to the specified address if "Minus"
* --- Loop: count down from 10 ---
move.l #10, d0
move.l #0, d1
loop:
addq.l #1, d1
subq.l #1, d0
bne loop ; branch if d0 != 0
* --- Conditional skip ---
move.l #5, d2
move.l #5, d3
cmp.l d3, d2
beq are_equal ; branch if d2 == d3
move.l #0, d4
bra done
are_equal:
move.l #$FF, d4
done: