title: Assembler code MC68k . somehow a register is getting filled with a number even though I dont want to
body: <p>So I need to write this in assembler code. I should be in D3, J in D4 and K in D5.
  When running the code, everything works BUT D2 is filled with the information in D4. Why is that?</p>
  <pre><code>    ORG    $0
      DC.L   $8000
      DC.L   START
      ORG    $1000
      
  START:  
                 
      MOVE.W I,D3
      MOVE.W J,D4
      CMP.W  D4,D3
      BLT  LT
      BRA  ELSE
  
  LT:
  
      MOVE #1,D5
      BRA  end
      
  ELSE:
  
      MOVE #0,D5
  
  end:
  
     *nothing should happen here, just want program to stop
  
  * these are my variables and constants
   
  I   DC   2
  
  J   DC   14
  
      SIMHALT
      END    START        ; last line of source
  </code></pre>