Skip to content
thecscience
THECSICENCE

Learn everything about computer science

  • Home
  • Human values
  • NCERT Solutions
  • HackerRank solutions
    • HackerRank Algorithms problems solutions
    • HackerRank C solutions
    • HackerRank C++ solutions
    • HackerRank Java problems solutions
    • HackerRank Python problems solutions
thecscience
THECSICENCE

Learn everything about computer science

Microprocessor as CPU

YASH PAL, April 3, 2022December 30, 2024

A Microprocessor as CPU – The microprocessor is a multipurpose, programmable logic device that reads an instruction from a storage device called memory accepts binary data as input and processes data according to those instructions, and provides results at the output.

In a broad way, a digital circuit that has computing and decision-making capability is structurally designed in such a way that if proper instruction is given to this circuit, it results in the desired output. In other words, we can say, this structured design is the microprocessor architecture.

Microprocessor as CPU

Hardware and software are two principal components of a microcomputer system. The physical devices and circuitry are named hardware whereas software refers to the program written for the computer. There are four main elements in a microcomputer system:

  1. Central Processing Unit(CPU)
  2. Memory
  3. Input/ Output Devices and
  4. The system buses

The block diagram of a microcomputer system is shown below figure. The central processing unit (CPU) is responsible for performing all the numerical processes, logical operations, and timing functions. Semiconductor memories are used to store programs and data. I/O devices, also called peripherals, are the means by which the CPU communicates with the outside world. The CPU is connected to memory and I/O by a set of parallel wires or lines called a system bus.

Microprocessor as cpu
Microprocessor as cpu

Here in the above image (a) is the block diagram of a traditional computer system with CPU and (b) is the block diagram of a Microcomputer with MPU.

  • Types of Microprocessor

The CPU operations are controlled by a set of instructions, called a program. The CPU accepts the data and instructions through the input, executes one instruction at a time, and sends the results at the output. A typical CPU consists of the following three units:

  1. Register Array
  2. Arithmetic and Logic Unit (ALU)
  3. Control Unit

Register Array

Register Array provides temporary storage within the CPU for memory addresses, status, and other information. The number of registers and size of the register array varies in accordance with the different microprocessors.

Computer Organization Interview Questions and Answers

Arithmetic and Logic Unit (ALU)

The ALU contains an adder. This is responsible for performing binary arithmetic operations on the data obtained from memory, the register array varies, or other inputs. Boolean logical operations on data is also the responsibility of ALU. Some ALUs perform more complex operations such as multiplication, division, and data shifting. ALU also contains flag bits that signal the results of arithmetic and logical manipulations.

Control Unit

To complete any task or job, a proper sequence of events is required. The control unit coordinates all the microprocessor activities. A clock input signal is used for the proper sequencing of all activities. The control unit decodes the instructions and issues control and timing signals to units both internal and external to the CPU to perform the proper processing action.

engineering subjects microprocessor engineering subjectsmicroprocessor

Post navigation

Previous post
Next post

Leave a Reply

You must be logged in to post a comment.

  • HackerRank Dynamic Array Problem Solution
  • HackerRank 2D Array – DS Problem Solution
  • Hackerrank Array – DS Problem Solution
  • Von Neumann and Harvard Machine Architecture
  • Development of Computers
©2025 THECSICENCE | WordPress Theme by SuperbThemes