Two's Complement is part of the toolbox of anyone using either hardware or software at one of the lowest levels of the abstraction tree. A binary representation of negative numbers that allows the use of a standard adder to implement subtraction. Only downside: the available space has to be shared by negative and positive numbers, which restricts the positive and negative value range by a factor of 2.
You are still on board? 🛥
In that case have you ever wondered, how this actually works on a binary level, and why?
If not, Pedram Hadjian - to be found on LinkedIn here - has not only a complete but also really comprehensible answer.
A wonderful resource to refresh your low-level knowledge.
Read the full newsletter Issue #71 of 8bitnews.io: Turrican II AGA
Don't want to miss updates like that? Subscribe below and receive regular content that we only share with our subscribers.