Yes. The previous example just did that.
Subtracting an integer X from Y is the same as adding -X to Y.
The binary addition algorithm is used for subtraction and addition. To subtract two numbers represented in two's complement, form the two's complement of the number to be subtracted and then add. Overflow is detected as usual.
Subtract 0001 1011 from 0011 0001.
Is the result correct or not?