title: lc3 LDR instruction and the value stored
body: <p>I can't figure out why <code>After instruction “LDR R3, R0, 2” is executed, the value stored in R3 is x370C.</code> what does 2 stands for in this instruction? It doesn't look like an immidiate value. I understand that R0 contains x370C at this point. Can someone please help? Many thanks!</p>
  
  <pre><code>.ORIG X3700
   LEA R0, A
   LDI R2, C 
   LDR R3, R0, 2 
   AND R1, R1, #0 
   IN
   ST R0, D 
   JSR  F 
   HALT
   F LD  R1, B
   ADD R1, R1, #1
   BRp F 
   RET
  
   A .FILL X1234
   B .FILL X370B
   C .FILL X370C
   D .BLKW 2
   E .STRINGZ "ABCD"
   G .FILL X1234
   .END
  </code></pre>