Skip to main content
Visitor II
April 12, 2006
Question

direct register access in c using IAR embedded workbench

  • April 12, 2006
  • 1 reply
  • 750 views
Posted on April 12, 2006 at 13:46

direct register access in c using IAR embedded workbench

    This topic has been closed for replies.

    1 reply

    marcus23Author
    Visitor II
    April 12, 2006
    Posted on April 12, 2006 at 13:46

    Hallo,

    I need a possibility to direct read/write access of the registers r0 ... r15 from my c-application.

    Because direct after reset (in the startup assembler file) I store the value of the LR (r14) in r11. In my application I would like to analyze this value to detect a reset (then the value should be 0) or a software-reset (done by jump to address 0x40000000).

    Regards.