If the destination is not R15, only the NZ flags are adjusted depending on the outcome of the operation. The C flag is set to the carry output bit generated by the shifter (if used).
If the destination is R15, the SPSR of the current mode is copied to the CPSR - this behaviour is unpredictable when in user or system mode since they have no SPSR.
|
|
|