From a3e419b4ac1826232ee92dfc3e1caa933c158256 Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Mon, 10 Jul 2023 11:58:40 +0100 Subject: [PATCH] architecture: create dedicate entry for ALU --- .../CPU/Arithmetic_Logic_Unit.md | 17 +++++++++++++++++ Computer_Architecture/CPU/CPU_architecture.md | 10 +--------- 2 files changed, 18 insertions(+), 9 deletions(-) create mode 100644 Computer_Architecture/CPU/Arithmetic_Logic_Unit.md diff --git a/Computer_Architecture/CPU/Arithmetic_Logic_Unit.md b/Computer_Architecture/CPU/Arithmetic_Logic_Unit.md new file mode 100644 index 0000000..13348d0 --- /dev/null +++ b/Computer_Architecture/CPU/Arithmetic_Logic_Unit.md @@ -0,0 +1,17 @@ +--- +categories: + - Computer Architecture +tags: [CPU] +--- + +# Arithmetic Logic Unit (ALU) + +The ALU is the centerpiece or core of the [CPU](/Computer_Architecture/CPU/CPU_architecture.md) architecture, where the binary calculations occur. It comprises [logic gates](/Electronics_and_Hardware/Digital_circuits/Logic_gates.md) that execute the instructions passed from memory and where the data stored by the registers is acted upon. + +It can execute arithmetic and logical operations on binary numbers. This is where you will find operations conducted by [full-adders and half adders](/Electronics_and_Hardware/Digital_circuits/Half_adder_and_full_adder.md) etc. + +This is the heart of the CPU; all the other components on the CPU chip are appendanges to the execution that occures within the ALU. It is also what is meant by the **core** processor that is referred to in hardware specs of computers, for instance _dual-core_, _quad core_ etc. + +Below is a schematic of a series of logical circuits within the CPU core: + +![74181aluschematic.png](/_img/74181aluschematic.png) diff --git a/Computer_Architecture/CPU/CPU_architecture.md b/Computer_Architecture/CPU/CPU_architecture.md index 2538dea..5ee2848 100644 --- a/Computer_Architecture/CPU/CPU_architecture.md +++ b/Computer_Architecture/CPU/CPU_architecture.md @@ -36,15 +36,7 @@ There are five main types of register in the CPU: ## Arithmetic Logic Unit -This is the hub of the CPU, where the binary calculations occur. It comprises [logic gates](/Electronics_and_Hardware/Digital_circuits/Logic_gates.md) that execute the instructions passed from memory. This is where the data stored by the registers is acted upon. - -It can execute arithmetic on binary numbers and logical operations. This is where you will find operations conducted by adders and half-adders etc. - -This is the heart of the CPU; all the other components on the CPU chip are appendanges to the execution that occures within the ALU. It is also what is meant by the **core** processor that is referred to in hardware specs of computers, for instance _dual-core_, _quad core_ etc. - -Below is a schematic of a series of logical circuits within the CPU core: - -![74181aluschematic.png](/_img/74181aluschematic.png) +See [Arithmetic Logic Unit](/Computer_Architecture/CPU/Arithmetic_Logic_Unit.md) ### Processor cores