RosettaCodeData/Task/Conditional-structures/68000-Assembly/conditional-structures-2.68000
2023-07-01 13:44:08 -04:00

3 lines
177 B
Text

BTST #7,D0 ;test bit 7 of D0, i.e. the leftmost bit in the rightmost byte.
BNE goHere ;if that bit is 1, branch to "goHere"
BEQ goThere ;if that bit is 0, branch to "goThere"