Reverse Subtract with Carry.
is an optional suffix. If
Sis specified, the condition code flags are updated on the result of the operation.
is an optional condition code.
is the destination register.
is the register holding the first operand.
is a flexible second operand.
RSC instruction subtracts the value in
the value of
If the carry flag is clear, the result is reduced by one.
You can use
RSC to synthesize multiword arithmetic.
In certain circumstances, the assembler can substitute one instruction for another. Be aware of this when reading disassembly listings.
You cannot use PC for
any operand in an
RSC instruction that has a register-controlled
Use of PC for any operand in
without register-controlled shift, is deprecated.
If you use PC (
the value used is the address of the instruction plus 8.
If you use PC as
Execution branches to the address corresponding to the result.
If you use the
Ssuffix, see the
Use of SP in
RSC ARM instructions is deprecated.
The deprecation of SP and PC in ARM instructions is only in ARMv6T2 and above.