The Arithmetic Logic Unit (ALU) in a microprocessor.
I'm a non-electrical engineer trying to understand this piece of the puzzle. I'm curious from a hardware perspective how does a processor calculate that 2<4 (00000010 < 00000100). I've found a diagram of the an 11 stage microprocessor, but the detail stops at the ALU component.
Any explanations, links, or books would be greatly appreciated.
Thanks in advance