top of page

The Ember CPU — Initial Design Part 4: Arithmetic Logic Unit (ALU)

  • Writer: Tom Gambill
    Tom Gambill
  • Feb 18
  • 1 min read

Updated: Mar 7



Now that we have some idea of how instructions are encoded, we can begin designing the instruction set for our CPU, starting with the ALU.


ALU Instructions

Arithmetic and Logic Instructions such as addition, subtraction, logical OR/AND, as well as comparison operations (which are typically just variations of SUB or AND instructions that don’t write their output), are often grouped into a separate part of the CPU circuit called the Arithmetic Logic Unit, or ALU.





Comments


Post: Blog2_Post
  • Mastodon
  • Facebook
  • LinkedIn

©2021 by IARI Ventures

bottom of page