You must not use
ERET in ThumbEE state or in
User or System mode. The assembler cannot detect the use of
User or System mode, but it can detect and diagnose it in ThumbEE state.
ERET is the preferred synonym for
PC, LR, #0 in the Thumb instruction set.