• -print-libgcc-file-name gives thumb while -marm is used

    Dear Forum,

    Using

    ~$ arm-none-eabi-gcc -v                                                                             
    Using built-in specs.
    COLLECT_GCC=arm-none-eabi-gcc
    COLLECT_LTO_WRAPPER=/opt/gcc-arm-none-eabi/bin/../libexec/gcc/arm-none-eabi/9…

  • The madman strikes again - ADD/SUB SP

    Is there something special in the instructions ADD (SP plus register, ARM) and SUB (SP minus register)?

    I didn't find anything different from the basic ADD  (register) and SUB (register) except the documentation:

    <Rd> The destination register…