Details
Description
When registering an Exceptionhandler via rX_CpuExptSetSystemVector() the delivered Exception Frame contains wrong value for PC.
HalExpt_DAB_Exception always substracts 4 from LR and depending of the Thumb Bit it will additionally substract 2.
ARM Documentation states that LR_dab=PC+8
HalExpt_PAB_Exception always substracts 4 from LR and depending of the Thumb Bit it will additionally substract 2.
ARM Documentation states that LR_pab=PC+4
HalExpt_UND_Exception does not modify LR.
ARM Documentation states that LR_und=PC+4 (ARM), or PC+2 (Thumb)