title: When is Overflow flag set?
body: <p>Can anybody explain why the overflow flag is set here? I learned that it is set if you add to positives and get a negative or subtract to negatives and get a positive!</p>
  
  <pre><code>    LDR     r0,=0X80000000
      LDR     r1,=0X40000000
  
      SUBS        r7,r10,r0
  </code></pre>