| |||
Home > Migrating a software application from ARMv5 to ARMv7-A/R > Modifying exception-handling code > Exception return |
ARMv5 uses the following instructions to return from exceptions:
Data processing instructions,
for example, MOVS PC, LR
.
LDM instructions, for example, LDM SP!, {…,
PC}^.
ARMv7 still uses these instructions to return from exceptions. In addition, ARMv7 introduces the following new instructions to return from exceptions:
SRS
.
RFE.