Arithmatic Logical Unit (ALU), is one of the parts / components in a system in a computer system that functions to perform operations / calculations of arithmetic and logic (Examples of arithmetic operations are addition and subtraction operations, while examples of logic operations are logical AND and OR. ALU works together memory, where the results of calculations in the ALU are stored in memory.

 Calculations in the ALU use binary code, which represents instructions to be executed (opcode) and processed data (operands). ALU usually uses a two’s complement binary number system. ALU gets data from the register. Then the data is processed and the results will be stored in a separate register, the ALU output register, before being stored in memory.

At the present time a chip / IC can have several ALUs at the same time which allows for parallel calculations. One simple ALU chip (consisting of 1 ALU) is IC 74LS382 / HC382ALU (TTL). This IC consists of 20 feet and operates with 4 × 2 data input pins (pinA and pinB) with 4 output pins (pinF).

Arithmatic Logical Unit (ALU), the function of this unit is to carry out a process of data in the form of numbers and logic, such as mathematical and statistical data. The ALU consists of registers to store information. The main task of the ALU is to carry out arithmetic (mathematical) calculations that occur according to program instructions. The circuit in the ALU (Arithmetic and Logic Unit) that is used to add numbers is called an Adder. Adders are used to process arithmetic operations, they are also called arithmetic combinational circuits.

 There are 3 types of adder:

1) A series of Adders by adding two bits is called a Half Adder.

2) A series of Adders by adding up three bits is called a Full Adder.

3) Add the Adder sequence by adding lots of bits called the Parallel Adder

1. 1. HALF ADDER

The Half Adder circuit is the basis for the sum of the Binary numbers consisting of one bit, therefore it is called the Incomplete Addition.

1. if A = 0 and B = 0 add up, the result S (Sum) = 0.

2. if A = 0 and B = 1 add up, the result S (Sum) = 1.

3. if A = 1 and B = 1 add up, the result S (Sum) = 0

4. if A = 1 and B = 1 are added together, the result is S (Sum) = 0. with cy transfer value (Carry Out) = 1

Thus, half adder has 2 inputs (A and B) and two outputs (S and Cy).

1. 2. FULL ADDER

At the present time a chip / IC can have several ALUs at the same time which allows for parallel calculations. One simple ALU chip (consisting of 1 ALU) is IC 74LS382 / HC382ALU (TTL). This IC consists of 20 feet and operates with 4 × 2 data input pins (pinA and pinB) with 4 output pins (pinF).

Arithmatic Logical Unit (ALU), the function of this unit is to carry out a process of data in the form of numbers and logic, such as mathematical and statistical data. The ALU consists of registers to store information. The main task of the ALU is to carry out arithmetic (mathematical) calculations that occur according to program instructions. The circuit in the ALU (Arithmetic and Logic Unit) used to add numbers is called deACE = “Verdana, sans-serif”> A Full Adder adds two numbers that have been converted to binary numbers. Each bit in the same position is added together. Full Adder as an addition to the bits other than the lowest. Full Adder adds up the two input bits plus the Carry-Out value from the sum of the previous bits. The output of the Full Adder is the sum (Sum) and the excess bits (carry-out).

1. 3. PARALLEL ADDER

Parallel Adder series is a series of sums of two numbers that have been converted into binary form. Suppose there are two registers A and B, each register consisting of 4 binary bits: A3A2A1A0 and B3B2B1B0.

Parallel Adder circuit consists of a Half Adder (HA) on the Least Significant Bit (LSB) of each input and several Full Adders on the next bits. The working principle of the Parallel Adder is as follows: the sum is done starting from the LSB. If the sum is a decimal number “2” or more, then the excess bit is stored in Cout, while the bit below it will be issued at Σ. And so on go to the Most Significant Bit (MSB).

Another task of the ALU is to make decisions on operations according to program instructions, namely logical operations. Logical operations include the comparison of two logic elements using logical operators.

Arithmatic Logical Unit (ALU):

In charge of forming computer data processing functions. ALU is often called machine language (machine language) because this section does the machine language instructions given% “>.

At the present time a chip / IC can have several ALUs at the same time which allows for parallel calculations. One simple ALU chip (consisting of 1 ALU) is IC 74LS382 / HC382ALU (TTL). This IC consists of 20 feet and operates with 4 × 2 data input pins (pinA and pinB) with 4 output pins (pinF).

Arithmatic Logical Unit (ALU), the function of this unit is to carry out a process of data in the form of numbers and logic, such as mathematical and statistical data. The ALU consists of registers to store information. The main task of the ALU is to carry out arithmetic (mathematical) calculations that occur according to program instructions. The circuit in the ALU (Arithmetic and Logic Unit) used to add numbers is called de to it.

ALU consists of two parts, namely the arithmetic unit and the boolean logic unit, each of which has its own specifications and tasks. The functions defined in the ALU are Add (addition), Addu (unmarked addition), Sub (subtraction), Subu (unmarked subtraction), and, or, xor, sll (shift left logical), srl (shift right logical) ), sra (shift right arithmetic), and others.

Arithmetic Logical Unit (ALU) is a logical reasoning unit. This ALU is a high-speed CPU Circuit that is tasked with calculating and comparing. The numbers are sent from memory to ALU to be calculated and then sent back to memory. If the CPU is assumed to be the brain of the computer, then there is another device in the CPU that is known as the Arithmetic Logical Unit (ALU), this ALU is thought to run the commands given to the CPU.

ALU itself is a unit of equipment consisting of various electronic device components including a group of transistors, known as logic gates, where the logic gate functions to carry out basic mathematical commands and logic operations. This collection of logic gate structures can carry out more complete mathematical calculation commands such as the “add” command to add numbers, or “devide” or division of a number. In addition to more complete mathematical commands, a collection of logic gates is also able to carry out commands related to logic, such as the result of the comparison of two numbers.

The instructions that can be carried out by the ALU are called the instruction set. The commands that exist on each CPU are not necessarily the same, especially CPUs made by different makers, say for example a command carried out by an Intel-made CPU is not necessarily the same as a CPU made by Sun or other microprocessor-making companies. If the commands run by one CPU with another CPU are the same, then at this level a system is said to be compatible. So that a program or software or software that is made based on the commands that exist on Intel will not be able to run for all types of processors, except for processors that are compatible with it.

Just as in languages ​​used by humans, this instruction set also has language rules that can be different from one another. Compare the different structure of English with Indonesian, or with other languages, as well as the instruction set on the machine, depending on where the instruction set environment is used.

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here