Freaky Assembly?

After a looong time, I was debugging some embedded C code and thought I found something freaky: C code for (i = 0; i < 1000000; i++); ARM code disassembly (as generated by GNU ARM gcc) 0x0000019c <main+196>: mov r3, #0 ; 0x0 0x000001a0 <main+200>: str r3, [r11, #-16] 0x000001a4 <main+204>: b 0x1b4 <main+220> 0x000001a8... Continue Reading →

Advertisements

Blog at WordPress.com.

Up ↑