0% found this document useful (0 votes)
94 views7 pages

Microprocessor vs Microcontroller Guide

The document compares and contrasts microprocessors and microcontrollers. It notes that microprocessors can perform multiple tasks simultaneously while microcontrollers are designed for single tasks. Microprocessors have externally added components like RAM, ROM, I/O ports and timers that can vary, while microcontrollers have these components fixed and embedded together on a single chip. The document also discusses the components and architecture of processors, comparing von Neumann and Harvard architectures, as well as comparing characteristics of CISC and RISC processors.

Uploaded by

Abhishek Jain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views7 pages

Microprocessor vs Microcontroller Guide

The document compares and contrasts microprocessors and microcontrollers. It notes that microprocessors can perform multiple tasks simultaneously while microcontrollers are designed for single tasks. Microprocessors have externally added components like RAM, ROM, I/O ports and timers that can vary, while microcontrollers have these components fixed and embedded together on a single chip. The document also discusses the components and architecture of processors, comparing von Neumann and Harvard architectures, as well as comparing characteristics of CISC and RISC processors.

Uploaded by

Abhishek Jain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

 Microprocessor vs Microcontroller

Microprocessor Microcontroller

Microprocessors are multitasking in nature. Can Single task oriented. For example, a washing
perform multiple tasks at a time. For example, on machine is designed for washing clothes only.
computer we can play music while writing text in
text editor.

RAM, ROM, I/O Ports, and Timers can be added RAM, ROM, I/O Ports, and Timers cannot be
externally and can vary in numbers. added externally. These components are to be
embedded together on a chip and are fixed in
numbers.

Designers can decide the number of memory or I/O Fixed number for memory or I/O makes a
ports needed. microcontroller ideal for a limited but specific task.

External support of external memory and I/O ports Microcontrollers are lightweight and cheaper than
makes a microprocessor-based system heavier and a microprocessor.
costlier.

External devices require more space and their power A microcontroller-based system consumes less
consumption is higher. power and takes less space.

 Processors in a System
A processor has two essential units −
1) Program Flow Control Unit (CU)/Fetching/ BIU(Bus interface unit)
2) Execution Unit (EU)
The CU includes a fetch unit for fetching instructions from the memory. The EU has circuits that
implement the instructions pertaining to data transfer operation and data conversion from one form to
another.
The EU includes the Arithmetic and Logical Unit (ALU) and also the circuits that execute
instructions for a program control task such as interrupt, or jump to another set of instructions.
A processor runs the cycles of fetch and executes the instructions in the same sequence as they are
fetched from memory.

 Von-Neumann Architecture vs Harvard Architecture


Von Neumann Architecture
The Von Neumann architecture was first proposed by a computer scientist John von Neumann. In
this architecture, one data path or bus exists for both instruction and data. As a result, the CPU
does one operation at a time. It either fetches an instruction from memory, or performs
read/write operation on data. So an instruction fetch and a data operation cannot occur
simultaneously, sharing a common bus.

Harvard Architecture

The Harvard architecture offers separate storage and signal buses for instructions and data. This
architecture has data storage entirely contained within the CPU, and there is no access to the
instruction storage as data. Computers have separate memory areas for program instructions and
data using internal data buses, allowing simultaneous access to both instructions and data.
Programs needed to be loaded by an operator; the processor could not boot itself. In a Harvard
architecture, there is no need to make the two memories share properties.

The following points distinguish the Von Neumann Architecture from the Harvard Architecture.

Von-Neumann Architecture Harvard Architecture

Single memory to be shared by both code and data. Separate memories for code and data.
Processor needs to fetch code in a separate clock cycle and Single clock cycle is sufficient, as separate
data in another clock cycle. So it requires two clock cycles. buses are used to access code and data.

Simple in design. Complex in design.

 CISC vs RISC
CISC RISC

Larger set of instructions. Easy to program Smaller set of Instructions. Difficult to


program.

Simpler design of compiler, considering larger set of Complex design of compiler.


instructions.

Many addressing modes causing complex instruction Few addressing modes, fix instruction
formats. format.

Emphasis is on hardware. Emphasis is on software.

Control unit implements large instruction set using Each instruction is to be executed by
micro-program unit. hardware.

Slower execution, as instructions are to be read from Faster execution, as each instruction is to
memory and decoded by the decoder unit. be executed by hardware.

Pipelining is not possible. Pipelining of instructions is possible,


considering single clock cycle.

NITISH KUMAR SINGH


12:21 PM
1819231070
MOHD IQBAL
12:37 PM
1819231063
SHREYA DUBEY
12:37 PM
1819231102
RISHABH MAHESHWARI
12:37 PM
1819231085
Shivani Sharma
12:37 PM
1819231101
UTKARSH RANA
12:37 PM
Utkarsh Rana -1819231116
SAURAV (blank)
12:37 PM
Saurav 1819231098
SHIVANI CHAUHAN
12:37 PM
Shivani chauhan 1819231100
AMAN RANA
12:37 PM
AMAN RANA 1819231015
PRASHANT PALIWAL
12:37 PM
1819231075
VAISHNAVI PARIHAR
12:37 PM
Vaishnavi Parihar 1851131012
VARUN TRIPATHI
12:37 PM
1819231119
KAMIYA YADAV
12:37 PM
1819231050
VAIBHAV KAUSHIK
12:37 PM
1819231118(vaibhav kaushik)
VIPIN SHAKYA
12:37 PM
1819231121 VIPIN SHAKYA
ANIKATE VERMA
12:37 PM
Anikate verma 1819231017
HUNNY SINGH
12:37 PM
Hunny singh 1819231047
REYANSH TYAGI
12:37 PM
Reyansh Tyagi 1819231083
ATHARVA PRATAP SINGH
12:37 PM
Atharva Pratap Singh 1819231029
PERI GAUTAM
12:37 PM
peri gautam - 1819231073
SONAL MARWAH
12:37 PM
Sonal Marwah 1819231105
NISHANT KUMAR
12:37 PM
Nishant Kumar 1819231068
AMAN KUMAR
12:37 PM
Aman Kumar 1819231014
SALONI SINGH
12:37 PM
Saloni singh 1819231091
NAINA RAJPUT
12:37 PM
1819231064 Naina Rajput
ARPIT SRIVASTAVA
12:37 PM
Arpit Srivastava 1819231025
MANYA SINGH
12:37 PM
1819231060
RANJAN KUMAR SHUKLA
12:37 PM
Ranjan Shukla (1819231081)
MD SAHJAD
12:37 PM
Md Sahjad 1819231062
DEV PARIHAR
12:37 PM
Dev Parihar 1819231038
KHUSHI SINGH
12:37 PM
KHUSHI SINGH 1819231054
HIMANSHU (blank)
12:37 PM
Himanshu 1819231045
MANAS SINGH
12:37 PM
Manas Singh 1819231058
ISHA GOEL
12:37 PM
Isha Goel (1819231049)
Navneet kumar
12:37 PM
1819231066 navneet kumar
AKASH SHARMA
12:37 PM
Akash Sharma 1819231011
YASH RAJ SINGH
12:37 PM
yash raj singh 1819240201
Pratyush Tiwari
12:37 PM
Pratyush Tiwari 1819231076
UTKARSH GUPTA
12:37 PM
Utkarsh Gupta 1819231115
Atharv Mishra
12:37 PM
atharv mishra 1851131003
ALLWYN RAJ
12:38 PM
Allwyn Raj 1819231013
NITIN KUMAR
12:38 PM
1819231069 Nitin kumar
SAMIKSHA UPADHYAY
12:38 PM
Samiksha Upadhyay 1819231094
ARGHYADEEP GHOSH
12:38 PM
Arghyadeep Ghosh 1819231024
TANYA SHARMA
12:38 PM
1819231110 Tanya Sharma
PARTH SAXENA
12:38 PM
PARTH SAXENA 1819231072
AYUSH KUMAR SINGH
12:38 PM
Ayush singh 1819231034
VIPUL VIKRAM SINGH
12:38 PM
Vipul Vikram Singh - 1819231122
KANCHI RUSIA
12:38 PM
Kanchi rusia 1819231051
KRITI SRIVASTAVA
12:38 PM
1819231056 Kriti Srivatava
RASHI PALIWAL
12:38 PM
1819231082 Rashi Paliwal
vivek Gupta
12:38 PM
Vivek gupta 1819231123
SANIA MANSOORI
12:38 PM
Sania Mansoori 1819231095
ABHISHEK SINGH
12:38 PM
ABHISHEK SINGH-1819231004
KANISHK JUYAL
12:38 PM
Kanishk - 1819231052
PRIYA SINGH
12:38 PM
Priya Singh 1819231080
Naman Chauhan
12:38 PM
Naman Chauhan 1819231065
UNNATI GUPTA
12:38 PM
1819231114
Daksh Tiwari
12:38 PM
Daksh Tiwari 1851131004
HIMANSHU SINGH
12:38 PM
Himanshu Singh 1819231046
GAURAV PANDEY
12:38 PM
Gaurav Pandey 1819231041
DIVYANSHI KATIYAR
12:38 PM
Divyanshi Katiyar 1819231039
Prerna Dubey
12:38 PM
1819231078- prerna Kumari
ARCHITA MEHTA
12:38 PM
Archita Mehta 1819231023
SRIJAN SHUKLA
12:39 PM
Srijan 1819231106
AKASH AGRAHARI
12:39 PM
1819231010 Akash Agrahari
ANJALI SHARMA
12:39 PM
ANJALI SHARMA 1819231018

You might also like