ALU

From Rice Wiki
Revision as of 15:27, 26 April 2024 by Rice (talk | contribs)

The arithmetic logic unit handles arithmetic operations in the CPU.

Operators

The main operators include

  • ADD
    • SUB: A - B = A + (-B)
    • MUL2: 2*A = A + A
  • XOR
    • NOT: ~A = A XOR 1
  • AND
  • OR