My code here:...
@ some code
...
end:
nop
b end
thread0:
mov32 r1, 0x4001100C @ GPIOC_CRH address
ldr r0, [r1]
orr r0, 0x8000 @ switch_on C15 only
str r0, [r1]
b end
nvic_systick:
push { lr }
@cpsid i
mov3...
In my case I use BX LR in both variants, but I need to return(from interrupt) to specific addressI have read, in official arm documentation, that controller use MSP or PSR on return from exception.After debugging has clear what LR contains sequence 0...