Syntax: RSC {<cond>}{S} <destination>, <operand1>, <operand2>
Operation: destination = operand two - operand one - NOT (carry)
Flags: N,Z,C,V
This operation performs a reverse subtract operation while taking account of a previous borrow in the carry flag.
This operand allows reversed subtraction to be performed on multi-word operands. It corresponds to the SBC instruction in the same way that RSB corresponds to SUB.
Examples:
RSBS result_low, low1, low2 ; Reverse subtract low words
RSCS result_high, high1, high2 ; Reverse subtract high words + carry
|
|
|