title: Compiled AVR assembly binary does not seem to contain my instructions?
body: <p>So I've written and manually "assembled" the following piece of asm using the AVR instruction set PDF from their website.</p>
  
  <pre><code>ldi     r17, 0          ; 1110 0000 0001 0000
  ldi     r18, 3          ; 1110 0000 0010 0011
  ldi     r16, 0          ; 1110 0000 0000 0000
  loop:  
      sbrc    r18, 0      ; 1111 1101 0010 0000
      add     r16, r17    ; 0000 1111 0000 0001
      lsl     r17         ; 0000 1100 0001 0001
      lsr     r18         ; 1001 0101 0010 0110
      brne    loop        ; 1111 01-- ---- ----
  again:
      rjmp again          ; 1001 010- ---- 110- 
                          ; ---- ---- ---- ----
  </code></pre>
  
  <p>However when I actually assemble the file with Avra and dump the resulting <code>.hex</code> file in binary I get this:</p>
  
  <pre><code>0011101000110000
  0011001000110000
  0011000000110000
  0011000000110000
  0011001000110000
  0011000000110000
  0011000001000110
  0100001100001101
  0000101000111010
  0011000100110000
  0011000000110000
  0011000000110000
  0011000000110000
  0011000100110000
  0100010100110000
  0011001000110011
  0100010100110000
  0011000000110000
  0100010100110000
  0011001000110000
  0100011001000100
  0011000000110001
  0011000001000110
  0011000100110001
  0011000001000110
  0011001000110110
  0011100100110101
  0100010000111001
  0100011000110111
  0011010000110101
  0000110100001010
  0011101000110000
  0011001000110000
  0011000000110001
  0011000000110000
  0011000001000110
  0100011001000011
  0100011000110010
  0011000000001101
  0000101000111010
  0011000000110000
  0011000000110000
  0011000000110000
  0011000000110001
  0100011001000110
  0000110100001010
  0000110100001010
  </code></pre>
  
  <p>When I flash the hex file to an Arduino it runs fine (the given asm doesn't give any output, but I've made asm to turn off the led and such, which worked fine so I'm assuming this does as well).
  Can somebody tell me what is going on here? Why are there so many extra bits and why can't I find any of my instructions?</p>