Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: Breakpoint in call to _sys_command_string (1 Replies)

$
0
0
When starting a C++ int main(void) project in debug mode, the routine _sys_command_string gets called. Why? The main routine has no parameters. And why is there a breakpoint instruction in this routine? Using c11 and c++11. 0x08017632 B51C PUSH {r2-r4,lr} 0x08017634 4604 MOV r4,r0 0x08017636 E9CD0100 STRD r0,r1,[sp,#0] 0x0801763A 4669 MOV r1,sp 0x0801763C 2015 MOVS r0,#0x15 0x0801763E BEAB BKPT 0xAB 0x08017640 B108 CBZ r0,0x08017646 0x08017642 2000 MOVS r0,#0x00 0x08017644 BD1

Viewing all articles
Browse latest Browse all 3049

Trending Articles