A Klonano (Arduino Nano clone) on Nettigo PLN 15.9. "Blue Pill", a module with STM32F103C8T6 on Allegro from PLN 13.9, but you have to combine to connect.
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tam_jta_ wrote:Of course, in the code above, this is redundant
This is not redundant, on the contrary, it is necessary if the name is to be used to generate the 32-bit address of the function - the fact that the processor has only Thumb instructions does not mean that you can load an even address into the PC with impunity - it freezes the processor, I checked.
I used this construction, and it worked:
Code: ARM assemblerLog in, to see the code
- all functions defined by _func had odd addresses.
However, the problem with (non)parity of the address only manifests itself when the instruction uses a 32-bit address - instructions containing a relative address do not encode the lowest bit of the address and preserve the lowest PC bit.