2006-04-12 04:46 AM
direct register access in c using IAR embedded workbench
2006-04-12 04:46 AM
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.