title: Is it possible to access CPU registers such as LR, PC
body: <p>It is possible to access Sp, Lr, and Pc and store them in normal C variable?... if yes then how to do it.? please explain it with c code..</p>
  
  <p>I'm using arm gcc compiler</p>