12 points · by hadjian · 3y ago · 2 comments
I wrote a blog post about the two's complement. I always scratched my head about some details:
- "Take the ones' complement and add one" - "Half of the range are negative numbers" - etc.
Now I think I understand these details, but had to piece it together from some sources. I'd love to get your feedback on this post. Looking forward.
BR,
Pedram
Also the encoding was just given, so the “subtraction by addition” part was missing.
I wonder if I will find the time to build his CPU. One of the best resources on YouTube, really.