Is every operation done by the CPU implemented by simple logic gates such as AND, OR, XOR
gates?
For example a half adder
is implemented with an AND + XOR
gate.
What about:
- The rest of the Arithmetic Logic Unit (subtraction, multiplication, div)
- The floating point unit
- Shift operations
- More complex instructions such as
counting leading zeros
,bit rotation
, etc.
Is every instruction implemented by combining logic gates?