title: Why use LDR over MOV (or vice versa) in ARM assembly?
body: <p>I'm looking through this tutorial: <a href="http://www.cl.cam.ac.uk/freshers/raspberrypi/tutorials/os/ok01.html" rel="noreferrer">http://www.cl.cam.ac.uk/freshers/raspberrypi/tutorials/os/ok01.html</a></p>
  
  <p>The first line of assembly is:</p>
  
  <pre><code>ldr r0,=0x20200000
  </code></pre>
  
  <p>the second is:</p>
  
  <pre><code>mov r1,#1
  </code></pre>
  
  <p>I thought <code>ldr</code> was for loading values from memory into registers. But it seems the <code>=</code> means the 0x20200000 is a value not a memory address. Both lines seem to be loading the absolute values.</p>