title: Assembly Motorola 68k, how to branch if a tested bit is zero?
body: <p>I am writing a program in assembly using easy68k, I was looking for a way to make a branch if a tested bit is equal to zero [Z=0 in SR].</p>
  
  <p>I searched a lot but didn't get an answer,</p>
  
  <p>for example, I have this line:</p>
  
  <pre><code>  BTST #0,D2 ;Testing the LSB bit in data register 0
  </code></pre>
  
  <p>Now I want a way, or if there exists, an instruction to check Z in the SR, so I can know if the tested bit is zero or not.</p>