The Arithmetic Logic Unit (ALU)

1297 Words3 Pages

ALU

Let me start off with some background information of the ALU. The Arithmetic Logic Unit (ALU) is a digital circuit which performs arithmetic and logic operations. It does basic arithmetic such as addition, subtraction, multiplication, and division. The ALU also has the ability to do logic operations, such as OR, AND, NOT, and many others. The ALU is what does most of the operations that a Central Processing Unit (CPU) does. Due to the ALU’s ability to do these tasks, the ALU is considered as the cornerstone of the CPU. Now that we have gone over the background information on the ALU, let me go into describing the processing and interdependencies of the ALU.

1. First of all, in modern computers, there are three parts in a CPU, …show more content…

An example of how this works is by adding 2 + 3 into the ALU. Us humans can see that it is simply 2 + 3. However, since computers use binary code, it sees 10 + 11 (Barret, 2016). Then when the computer adds it up, it gives an answer of 101, which the computer translates to our language to 5. The ALU uses multiple gates to give out the answer of 5. It sounds complicated, since the CPU uses binary code, but the ALU has the ability to do millions of these operations in less than a second.

Instruction Decoder

Let me start again with background information. An instructional decoder is a circuit that interprets the value of the input and then determines which part of the output is going to be activated. This is very closely linked to the ALU because it takes the logic gates and determines the output of the gates. Due to this, the instruction decoder is one of the fundamental parts of a CPU, just like the ALU.

1. First of all, let me use the same example that I used in the ALU about 2+3. So, when the CPU receives this input as 10 + 11, and the Instruction Decoder gives the correct activation of 101, which translates to 5.

2. Secondly, to be more specific, the Instruction register op-code is given to the Instruction Decoder and the Instruction Decoder give the activation of which output to …show more content…

A clock in a computer is kept by a master clock which delivers alternating signals. The clock phase has two phases, a tick and a tock. The tick tock phase is represented by a binary signal. The signal is from the hardware’s circuitry and it is simultaneously broadcasted to all the sequential chips in the computer. The counter is a sequential chip that has an integer that increments every time unit that goes by. As expected, the counter is an extremely important part in digital architectures. In logic programs, a counter can be implemented, which will add a constant. So you can manipulate the standard register (Nisan & Schocken, 2005). It is located in the control unit of the computer. The program counter tells the control unit the instructions it receives from the RAM. So it connects the Control Unit to the

More about The Arithmetic Logic Unit (ALU)

Open Document