SlideShare a Scribd company logo
1 of 10
Download to read offline
General Aspects of Computer Organization
(Lecture-1)
R S Ananda Murthy
Associate Professor
Department of Electrical & Electronics Engineering,
Sri Jayachamarajendra College of Engineering,
Mysore 570 006
R S Ananda Murthy General Aspects of Computer Organization
Specific Learning Outcomes
After completing this lecture the student should be able to –
List the four main blocks in a digital computer.
Explain the meaning of address bus, data bus and control
bus in a digital computer.
List the differences between a microprocessor and a
microcontroller.
Explain the meaning of bit, nibble, byte and word length of
a microcontroller or a microprocessor.
Explain how the word length of a processor affects its
performance.
Explain the meaning of address space.
Explain the Stored Program Concept of Von Neuman.
R S Ananda Murthy General Aspects of Computer Organization
Functional Units in a Digital Computer
CPUInput Output
Memory
External
World
External
World
Arrows indicate direction of information flow.
Central Processing Unit (CPU) executes the program
stored in memory.
Typical devices in input block: keyboard, mouse.
Typical devices in output block: monitor, speaker, printer.
R S Ananda Murthy General Aspects of Computer Organization
Address, Data and Control Buses in Computer
Memory
CPU
Input
Output
Address Bus
Data Bus
Control Bus
Real
World
A set of parallel wires is called a bus.
Address is output by the CPU on the address bus.
Data is transmitted between the CPU and other devices
over the data bus.
Control signals are transmitted over the control bus.
R S Ananda Murthy General Aspects of Computer Organization
Microprocessor – CPU on a Chip
Arithmetic Logic
Unit (ALU)
Register ArrayControl
Unit (CU)
Central Processing Unit (CPU)
CU generates signals required to fetch instructions from
the memory and execute them.
ALU performs arithmetic and logical operations.
Register array has registers to store data temporarily.
Microprocessor is a CPU on a single chip.
R S Ananda Murthy General Aspects of Computer Organization
Microcontroller – CPU and Peripherals on a Chip
CPU R/WM ROM
I/O
Ports
Timer/
Counter
Serial
COM
Port
Microcontroller
Some modern microcontrollers even have on-chip
Analog-to-Digital Converter (ADC) and Digital-to-Analog
Converter (DAC).
R S Ananda Murthy General Aspects of Computer Organization
Bit, Nibble, Byte and Word Length of CPU
A binary digit is known as bit. It can be 0 or 1.
In modern digital computers all instructions and data are
represented using bits.
A group of four bits is a nibble. Eg. 1101, 1010.
A group of eight bits is a byte. Eg. 11011010, 10101010.
The data bus width is known as word length of CPU. For
eg. ATmega328 MCU has a word length of 1-byte because
its data bus width is 8-bits.
A CPU with longer word length is faster because it can
process more bits in one operation.
R S Ananda Murthy General Aspects of Computer Organization
No. of Bits in Address and Address Space
MemoryAdr. Hex
0000H
FFFFH
0001H
Starting
Ending
.
.
.
.
.
.
.
65536 Locations
0000 0000 0000 0000B
Address in Binary
1111 1111 1111 1111B
.
.
.
.
.
.
.
.
.
.
.
.
.
.
0000 0000 0000 0001B
With N bits in the address, CPU can access 2N locations.
Eg. if there are 16-bits in the address as shown above,
then, the address space has 216 = 65536 locations.
R S Ananda Murthy General Aspects of Computer Organization
Von Neumann’s Stored Program Concept
Address Memory
0000 Byte
0001 Byte
0002 Byte
0003 Byte
0020
.
.
.
CPU
0002
PC
Halt
Content of
a memory
location
0021
Program Counter (PC) – also known as Location Counter –
in side the CPU points to the next instruction in the
memory to be fetched and executed.
PC stops incrementing when HALT instruction is
recognized by the CPU.
R S Ananda Murthy General Aspects of Computer Organization
License
This work is licensed under a
Creative Commons Attribution 4.0 International License.
R S Ananda Murthy General Aspects of Computer Organization

More Related Content

What's hot

8051 microcontroller and embedded system
8051 microcontroller and embedded system8051 microcontroller and embedded system
8051 microcontroller and embedded system
sb108ec
 

What's hot (20)

L12 c-language-programming-of-atmega328 p
L12 c-language-programming-of-atmega328 pL12 c-language-programming-of-atmega328 p
L12 c-language-programming-of-atmega328 p
 
L14 kb-lcd-interfacing-with-atmega328 p
L14 kb-lcd-interfacing-with-atmega328 pL14 kb-lcd-interfacing-with-atmega328 p
L14 kb-lcd-interfacing-with-atmega328 p
 
L5 data-parallel-computers
L5 data-parallel-computersL5 data-parallel-computers
L5 data-parallel-computers
 
L3 instruction-execution-steps
L3 instruction-execution-stepsL3 instruction-execution-steps
L3 instruction-execution-steps
 
L13 interrupts-in-atmega328 p
L13 interrupts-in-atmega328 pL13 interrupts-in-atmega328 p
L13 interrupts-in-atmega328 p
 
L11 assembly-language-programming-of-atmega328 p
L11 assembly-language-programming-of-atmega328 pL11 assembly-language-programming-of-atmega328 p
L11 assembly-language-programming-of-atmega328 p
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Bca examination 2015 csa
Bca examination 2015 csaBca examination 2015 csa
Bca examination 2015 csa
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embedded Systems Memory
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embedded Systems MemorySYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embedded Systems Memory
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embedded Systems Memory
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embeded HardwareSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II  Embeded Hardware
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
 
Applications - embedded systems
Applications - embedded systemsApplications - embedded systems
Applications - embedded systems
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
 
8051 microcontroller and embedded system
8051 microcontroller and embedded system8051 microcontroller and embedded system
8051 microcontroller and embedded system
 
Embedded systems class notes
Embedded systems  class notes Embedded systems  class notes
Embedded systems class notes
 
Customizable Microprocessor design on Nexys 3 Spartan FPGA Board
Customizable Microprocessor design on Nexys 3 Spartan FPGA BoardCustomizable Microprocessor design on Nexys 3 Spartan FPGA Board
Customizable Microprocessor design on Nexys 3 Spartan FPGA Board
 
Micro controller & Micro processor
Micro controller & Micro processorMicro controller & Micro processor
Micro controller & Micro processor
 
Basic 8051 question
Basic 8051 questionBasic 8051 question
Basic 8051 question
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controller
 
Arduino
Arduino Arduino
Arduino
 
viva q&a for mp lab
viva q&a for mp labviva q&a for mp lab
viva q&a for mp lab
 

Viewers also liked

Physics ohm’s law
Physics   ohm’s lawPhysics   ohm’s law
Physics ohm’s law
fourangela
 

Viewers also liked (14)

Introduction to-Tex-and-LaTeX
Introduction to-Tex-and-LaTeXIntroduction to-Tex-and-LaTeX
Introduction to-Tex-and-LaTeX
 
Transformers
TransformersTransformers
Transformers
 
Lecture-5 : Semiconductor Power Switching Devices-2
Lecture-5 : Semiconductor Power Switching Devices-2Lecture-5 : Semiconductor Power Switching Devices-2
Lecture-5 : Semiconductor Power Switching Devices-2
 
Lecture-3 : More Applications of Power Electronics
Lecture-3 : More Applications of Power ElectronicsLecture-3 : More Applications of Power Electronics
Lecture-3 : More Applications of Power Electronics
 
Lecture-7 : Semiconductor Power Switching Devices-4
Lecture-7 : Semiconductor Power Switching Devices-4Lecture-7 : Semiconductor Power Switching Devices-4
Lecture-7 : Semiconductor Power Switching Devices-4
 
Lecture-2 : Applications of Power Electronics
Lecture-2 : Applications of Power ElectronicsLecture-2 : Applications of Power Electronics
Lecture-2 : Applications of Power Electronics
 
Three phase-circuits
Three phase-circuitsThree phase-circuits
Three phase-circuits
 
Synchronous generators
Synchronous generatorsSynchronous generators
Synchronous generators
 
L15 timers-counters-in-atmega328 p
L15 timers-counters-in-atmega328 pL15 timers-counters-in-atmega328 p
L15 timers-counters-in-atmega328 p
 
Lecture-4 : Semiconductor Power Switching Devices-1
Lecture-4 : Semiconductor Power Switching Devices-1Lecture-4 : Semiconductor Power Switching Devices-1
Lecture-4 : Semiconductor Power Switching Devices-1
 
Lecture-1 : Introduction to Power Electronics
Lecture-1 : Introduction to Power ElectronicsLecture-1 : Introduction to Power Electronics
Lecture-1 : Introduction to Power Electronics
 
Trends in-power-electronics
Trends in-power-electronicsTrends in-power-electronics
Trends in-power-electronics
 
Physics ohm’s law
Physics   ohm’s lawPhysics   ohm’s law
Physics ohm’s law
 
Ohms law
Ohms lawOhms law
Ohms law
 

Similar to L1 intro-to-mpu-mcu

1. Programming in C - Introduction.pdf
1. Programming in C - Introduction.pdf1. Programming in C - Introduction.pdf
1. Programming in C - Introduction.pdf
hydyc
 
microprocessor
microprocessormicroprocessor
microprocessor
illpa
 

Similar to L1 intro-to-mpu-mcu (20)

1. Programming in C - Introduction.pdf
1. Programming in C - Introduction.pdf1. Programming in C - Introduction.pdf
1. Programming in C - Introduction.pdf
 
unit-i.pdf
unit-i.pdfunit-i.pdf
unit-i.pdf
 
Typical configuration of computer chapter 1
Typical configuration of computer chapter 1 Typical configuration of computer chapter 1
Typical configuration of computer chapter 1
 
C with lab
C with labC with lab
C with lab
 
EEE226a.ppt
EEE226a.pptEEE226a.ppt
EEE226a.ppt
 
Fg a
Fg aFg a
Fg a
 
UNIT 2_ESD.pdf
UNIT 2_ESD.pdfUNIT 2_ESD.pdf
UNIT 2_ESD.pdf
 
Mca4010 microprocessor
Mca4010  microprocessorMca4010  microprocessor
Mca4010 microprocessor
 
Mca4010 microprocessor
Mca4010  microprocessorMca4010  microprocessor
Mca4010 microprocessor
 
Mca4010 microprocessor
Mca4010  microprocessorMca4010  microprocessor
Mca4010 microprocessor
 
Mca4010 microprocessor
Mca4010  microprocessorMca4010  microprocessor
Mca4010 microprocessor
 
Lec 1 DPT
Lec 1 DPTLec 1 DPT
Lec 1 DPT
 
Lecture1 - Computer Architecture
Lecture1 - Computer ArchitectureLecture1 - Computer Architecture
Lecture1 - Computer Architecture
 
C q 1
C q 1C q 1
C q 1
 
MD JAHID HASAN
MD JAHID HASANMD JAHID HASAN
MD JAHID HASAN
 
152-15-5588
152-15-5588152-15-5588
152-15-5588
 
Computer fundamental
Computer fundamentalComputer fundamental
Computer fundamental
 
microprocessor
microprocessormicroprocessor
microprocessor
 
Benefits of Micro Controller.pdf
Benefits of Micro Controller.pdfBenefits of Micro Controller.pdf
Benefits of Micro Controller.pdf
 
The Basic Configuration of a Microcomputer
The Basic Configuration of a Microcomputer The Basic Configuration of a Microcomputer
The Basic Configuration of a Microcomputer
 

Recently uploaded

DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 

Recently uploaded (20)

Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 

L1 intro-to-mpu-mcu

  • 1. General Aspects of Computer Organization (Lecture-1) R S Ananda Murthy Associate Professor Department of Electrical & Electronics Engineering, Sri Jayachamarajendra College of Engineering, Mysore 570 006 R S Ananda Murthy General Aspects of Computer Organization
  • 2. Specific Learning Outcomes After completing this lecture the student should be able to – List the four main blocks in a digital computer. Explain the meaning of address bus, data bus and control bus in a digital computer. List the differences between a microprocessor and a microcontroller. Explain the meaning of bit, nibble, byte and word length of a microcontroller or a microprocessor. Explain how the word length of a processor affects its performance. Explain the meaning of address space. Explain the Stored Program Concept of Von Neuman. R S Ananda Murthy General Aspects of Computer Organization
  • 3. Functional Units in a Digital Computer CPUInput Output Memory External World External World Arrows indicate direction of information flow. Central Processing Unit (CPU) executes the program stored in memory. Typical devices in input block: keyboard, mouse. Typical devices in output block: monitor, speaker, printer. R S Ananda Murthy General Aspects of Computer Organization
  • 4. Address, Data and Control Buses in Computer Memory CPU Input Output Address Bus Data Bus Control Bus Real World A set of parallel wires is called a bus. Address is output by the CPU on the address bus. Data is transmitted between the CPU and other devices over the data bus. Control signals are transmitted over the control bus. R S Ananda Murthy General Aspects of Computer Organization
  • 5. Microprocessor – CPU on a Chip Arithmetic Logic Unit (ALU) Register ArrayControl Unit (CU) Central Processing Unit (CPU) CU generates signals required to fetch instructions from the memory and execute them. ALU performs arithmetic and logical operations. Register array has registers to store data temporarily. Microprocessor is a CPU on a single chip. R S Ananda Murthy General Aspects of Computer Organization
  • 6. Microcontroller – CPU and Peripherals on a Chip CPU R/WM ROM I/O Ports Timer/ Counter Serial COM Port Microcontroller Some modern microcontrollers even have on-chip Analog-to-Digital Converter (ADC) and Digital-to-Analog Converter (DAC). R S Ananda Murthy General Aspects of Computer Organization
  • 7. Bit, Nibble, Byte and Word Length of CPU A binary digit is known as bit. It can be 0 or 1. In modern digital computers all instructions and data are represented using bits. A group of four bits is a nibble. Eg. 1101, 1010. A group of eight bits is a byte. Eg. 11011010, 10101010. The data bus width is known as word length of CPU. For eg. ATmega328 MCU has a word length of 1-byte because its data bus width is 8-bits. A CPU with longer word length is faster because it can process more bits in one operation. R S Ananda Murthy General Aspects of Computer Organization
  • 8. No. of Bits in Address and Address Space MemoryAdr. Hex 0000H FFFFH 0001H Starting Ending . . . . . . . 65536 Locations 0000 0000 0000 0000B Address in Binary 1111 1111 1111 1111B . . . . . . . . . . . . . . 0000 0000 0000 0001B With N bits in the address, CPU can access 2N locations. Eg. if there are 16-bits in the address as shown above, then, the address space has 216 = 65536 locations. R S Ananda Murthy General Aspects of Computer Organization
  • 9. Von Neumann’s Stored Program Concept Address Memory 0000 Byte 0001 Byte 0002 Byte 0003 Byte 0020 . . . CPU 0002 PC Halt Content of a memory location 0021 Program Counter (PC) – also known as Location Counter – in side the CPU points to the next instruction in the memory to be fetched and executed. PC stops incrementing when HALT instruction is recognized by the CPU. R S Ananda Murthy General Aspects of Computer Organization
  • 10. License This work is licensed under a Creative Commons Attribution 4.0 International License. R S Ananda Murthy General Aspects of Computer Organization