#include "stm32f4xx.h" __ASM void *get_r9(void) { mov r0,r9 bx lr } __ASM void set_r9(void *r9) { mov r9 ,r0 bx lr }