Clive W. Humphris

**ARITHMETIC AND LOGIC UNIT: Logic Unit. **

The Arithmetic and Logic Unit (ALU) is the heart of a microprocessor. Under the control of the instruction register it performs the addition, subtraction, multiplication and division functions of the two binary numbers. Plus all the logic operations such as compare, copy, shift right, shift left and many more. Here we show an ALU that is 4 bits wide, eight, sixteen and thirty-two bit processors are available.

The arithmetic/logic function is selected from the 2-bit operation code, 00, 01, 10 or 11. The output of the 2-4 line decoder will then activate one of the analogue switches directing the result of that function to the output register.

After each instruction fetch cycle, the contents of the program counter must be incremented to point to the next address in the program.

- Table of Contents
- Interactive eTextbooks
- Computer Hardware
- Data Structures
- Data Files
- Computer Systems
- Data Handling
- System Development
- Computer Programming
- Binary Numbers
- Binary Arithmetic
- Logic Gates 1
- Logic Gates 2
- Logic Families
- Flop Flops
- Combinational Logic
- Counters
- Counting
- Shift Registers
- Logic Interfacing
- Boolean Algebra
- Micro-Computers
- Data Address Bus
- Memory Addressing
- Arithmetic And Logic Unit
- Microprocessor Timing
- Instructions and Control
- Memory Cells
- Microprocessor Memory
- Addressing Modes
- Instruction Set 1
- Instruction Set 2
- Instruction Set 3