cancel
Showing results for 
Search instead for 
Did you mean: 

direct register access in c using IAR embedded workbench

marcus23
Associate II
Posted on April 12, 2006 at 13:46

direct register access in c using IAR embedded workbench

1 REPLY 1
marcus23
Associate II
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.