
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