The microprocessor application are classified primarily into two categories:1. Reprogrammable systems
2. Embedded System
Microprocessor can perform the following operations:1. Read data from memory
2. Write data into memory
3. Accept data from input devices
4. Sends data to output devices
5. Data processing
6. Arithmetic and logic operations
The microprocessor can be divided into 3 basic units:- 1) Arithmetic and logic unit 2)
Register Array 3) Control unit .
ARITHMETIC AND LOGIC UNIT (ALU)
An ALU is a combinational circuit that performs arithmetic and logical operation on the data
stored in accumulator.
Results of operation by ALU are placed back in the accumulator.
Typical operations performed by ALU includes add, shift/rotate, compare, increment,
decrement, AND, OR, XOR, complement, clear, pre-set etc.
Apart from performing these operation, ALU also contains important information about
certain conditions that occur during these mathematical operation.