Hmm, never thought about it before but have there been any computers/CPUs that a...
nytpu the wyvern @nytpu@tilde.zone
Hmm, never thought about it before but have there been any computers/CPUs that actually had a dedicated subtractor unit as part of the ALU rather than just having a modified adder?
Because with two's complement you just add a carry in line and a bitwise inverter on the second input, both enabled by a subtraction signal. And I think there's a similarly easy technique for ones' complement (something about inverting the second input, and then adding one after the subtraction if there's an overflow I think??)