In computers we use two's-complement to subtract and it works well, but how does it work for subtraction without two's-complement when subtracting a larger number from a smaller number?
0x0F
- 0x13
------
-1C
Doesn't seem to work like subtracting decimal numbers would.
01
- 11
----
-10
It works if I flip the numbers.
0x13
- 0x0F
------
-4
What am I missing?