search for: 00008fd2

Displaying 1 result from an estimated 1 matches for "00008fd2".

Did you mean: 000000d2
2018 Mar 12
3
Cross-compiling for ARM Cortex-M3 on x86
...alues across objects may fail*", but I guess it is not important): I get an ELF executable for ARM Cortex-M3 as expected. However, things get tricky if we look closer at the assembly file (obtained by *arm-none-eabi-objdump*): the user code (written by me) is in Thumb mode, for example: 1420 00008fd2 <*main*>: 1421 8fd2: b580 push {r7, lr} 1422 8fd4: 466f mov r7, sp *1423 8fd6: f7ff fd83 bl 91d8 <srand>* 1424 8fda: 2000 movs r0, #0 1425 8fdc: bd80 pop {r7, pc} But libc code is in ARM mode: 1563 000091d8 <*srand*&...