Microprocessor

This is the genius saint sitting in your computer and mobiles. It is also considered as a computer brain, but also it is an incredible calculator! It can do all the arithmetic operations, handle all those big numbers, in fact, If you give this guy enough information, it can do stuff like playing online games, or running microsoft windows!

It is a controlling unit of a micro-computer. A single integrated circuit (IC) chip containing all functions of the CPU! It contains millions of components including transistors, resistors and diodes working together. How does it do all this stuff? Each microprocessor will have the following basic components:

So, you see above, the microprocessor takes input from input devices, is attached to the memory unit for storing data, and produces an output after processing according to the set of instructions given.

By input, we mean normal input which you give through keyboard and other input devices and output means the output we see on our screens.

We will focus on what are the components that make up a microprocessor. They are units that control what to do, how to do it, and where to store.

The microprocessor has a:

  • ALU
  • Control Unit
  • Register array

Arithmetic-Logic Unit

It is the part of a microprocessor that carries out the arithmetic and logical operations inside a microprocessor. The inputs to an ALU are

  1. The data to be operated on, called operands, and
  2. a code indicating the operation to be performed;

The output of the ALU is the result of the performed operation. For example, you gave your microprocessor a task to calculate 1+2, then 1 and 2 are the operands, and the ‘+’ is the instruction that tells what to do with the operands, this was an example of arithmetic operation. What are logical operations then? AND, OR, and NOT are all logical operations. Were you able to guess them?

Control Unit

Now that our ALU has given a task to calculate 1+2, ALU deduces that we have to add 1 and 2 but control is needed for the instruction so provided to add numbers to ALU. Hence, the control unit came into the picture. The control unit directs the operation of the microprocessor, it tells the memory, ALU, input, and output devices about how to respond to the instructions given to them.

Register array

Our processor now knows what to do and how to do it, but we need to have some space to store that data. So, microprocessors have register arrays for that purpose

But what is a register?

A register is a storage element, quickly accessible location available to microprocessors.

Arrange multiple registers to get an array of registers to store more data.

Many of you must have heard ram as memory used for fast operations with the microprocessor. If so then why do we need registers for our microprocessor, can't it just store data and coordinate with RAM? Try to figure out why? If you need any help, feel free to ask us.

How does a microprocessor work?

The microprocessor follows a sequence: Fetch, Decode, Read address from the memory(if needed), and then Execute.

Initially, instructions are stored in the memory in sequential order. The microprocessor fetches those instructions from the memory, then decodes it, and then if some data from another memory address is needed then it reads that data and then executes those instructions and the cycle repeats until STOP instruction is reached. Between these processes, the register stores the temporary data, and ALU performs the computations.

Here’s a glossary of some of the frequently used terms in a microprocessor:

Instruction Set: It is the set of instructions that the microprocessor can understand.

Clock Speed: It determines the number of operations the processor can perform per second. It is expressed in megahertz (MHz) or gigahertz (GHz). It is also known as Clock Rate.

Data Types: The microprocessor has multiple data type formats like binary, BCD, Hexadecimal.

Applications of Microprocessor

  1. Microprocessors are used in computers and laptops where heavy processing is required.
  2. Many medical devices, like an insulin pump, are typically controlled by a microprocessor. The microprocessors perform various functions, such as processing data from bio-sensors, storing measurements, and analyzing results.

Examples of Microprocessors

Here are some microprocessors with links attached to them for more info.

Intel 4004, the first-ever microprocessor created

Intel 8085, a microprocessor that can perform basic arithmetic and other logical operations

AMD Ryzen 9 5950X, a microprocessor by AMD

Intel Core i9-10900K, a microprocessor by Intel

Now, you know about genius saints sitting at the core of your devices.

Assuming you have a good impression of what microprocessors are. It’s time to talk about MCU (dun dun dun)…

Robotics &
Research
Group

GROUP

Home

Team

Alumni

PROJECTS

Achievements

Projects

Contribute

ACTIVITIES

Workshops

Blogs

Gallery


COPYRIGHT 2023, ZINE
zine.nitj@gmail.com

Get it on Google Play