title: Reading CPU registers on STM32
body: <p>On STM32F4, how can I read a CPU register?</p>
  
  <p>Are these registers mapped anywhere in memory?</p>
  
  <p>If not, can you please provide a simple assembly code for reading a register (LR for example) into a local variable?</p>
  
  <p>Thanks.</p>