Number Representations and Basic Processor Architecture Prof. Yusuf Leblebici Microelectronic Systems Laboratory (LSM) [email_address]
Number Representations
Number Representations
Number Representations
Number Representations Two’s complement
Number Representations One’s complement
Number Representations
Number Representations
Building Blocks of Processor Systems CPU
Processor System Architecture The typical processor system consists of: CPU (central processing unit) ALU (arithmetic-logic unit) Control Logic Registers, etc… Memory Input / Output interfaces Interconnections between these units: Address Bus Data Bus Control Bus
Bus and CPU Bus:   A shared group of wires used for communicating  signals among devices address bus: the device and the location within the  device that is being accessed data bus: the data value being communicated control bus: describes the action on the address  and data  buses CPU:  Core of the processor, where instructions are executed High-level language: a = b + c Assembly language: add r1 r2 r3 Machine language: 0001001010111010101
Memory and I/O Memory:  Where instructions (programs) and data are stored Organized in arrays of locations (addresses), each storing  one byte (8 bits) in general A  read  operation to a particular location always returns the  last value stored in that location I/O devices:  Enable system to interact with the world Device interface (a.k.a. controller or adapter) hardware  connects actual device to bus The CPU views the I/O device registers just like  memory that can be accessed over the bus.  However,  I/O registers are connected to external wires, device  control logic, etc. Reads  may not return last value written Writes  may have side effects
8085 Microprocessor Architecture Now we will examine these components more closely  by using the  Intel 8085 microprocessor  architecture  as an example:
The 8085 Bus Structure The 8-bit 8085 CPU (or MPU – Micro Processing Unit) communicates with the other units using a 16-bit address bus, an 8-bit data bus and a control bus.
The 8085 Bus Structure Address Bus Consists of 16 address lines: A 0  – A 15 Operates in  unidirectional  mode: The address  bits are always sent from the MPU to peripheral  devices, not reverse. 16 address lines are capable of addressing a  total of 2 16  = 65,536 (64k) memory locations. Address locations: 0000 (hex) – FFFF (hex)
The 8085 Bus Structure Data Bus Consists of 8 data lines: D 0  – D 7 Operates in  bidirectional  mode: The data bits are  sent from the MPU to peripheral devices, as well  as from the peripheral devices to the MPU. Data range: 00 (hex) – FF (hex) Control Bus Consists of various lines carrying the control  signals such as read / write enable, flag bits.
The 8085: CPU Internal Structure The internal architecture of the 8085 CPU is  capable of performing the following operations: Store 8-bit data (Registers, Accumulator) Perform arithmetic and logic operations (ALU) Test for conditions (IF / THEN) Sequence the execution of instructions Store temporary data in RAM during execution
The 8085: CPU Internal Structure Simplified block diagram
The 8085: Registers
The 8085: CPU Internal Structure Registers Six general purpose 8-bit registers: B, C, D, E, H, L They can also be combined as register pairs to  perform 16-bit operations: BC, DE, HL Registers are programmable (data load, move, etc.) Accumulator Single 8-bit register that is part of the ALU ! Used for arithmetic / logic operations – the result is  always stored in the accumulator.
The 8085: CPU Internal Structure Flag Bits Indicate the result of condition tests. Carry, Zero, Sign, Parity, etc. Conditional operations (IF / THEN) are executed  based on the condition of these flag bits. Program Counter (PC) Contains the memory address (16 bits) of the  instruction that will be executed in the next step. Stack Pointer (SP)
Example: Memory Read Operation
Example: Instruction Fetch Operation All instructions (program steps) are stored in memory. To run a program, the individual instructions must  be read from the memory in sequence, and executed. Program counter puts the 16-bit memory address of the  instruction on the address bus Control unit sends the Memory Read Enable signal to  access the memory The 8-bit instruction stored in memory is placed on the data  bus and transferred to the instruction decoder Instruction is decoded and executed
Example: Instruction Fetch Operation
Example: Instruction Fetch Operation
8085 Functional Block Diagram

More Related Content

PPTX
Microprocessor
PPTX
Microprocessor Presentation
PPT
Introduction to-microprocessors
PPTX
8085 Microprocessor Basic information & How its work
PDF
Unit 1. introduction
PDF
Microprocessor and interfacing
PPTX
Microprocessor presentation
PPT
Lecture 1
Microprocessor
Microprocessor Presentation
Introduction to-microprocessors
8085 Microprocessor Basic information & How its work
Unit 1. introduction
Microprocessor and interfacing
Microprocessor presentation
Lecture 1

What's hot (20)

PDF
Microprocessor note
PDF
Unit 1 MPMC
PPTX
microprocessor
PPTX
Ei502 microprocessors & micrtocontrollers part 1
PPT
Advanced micro -processor
PPTX
Microprocessor
PPTX
Computer Evolution
PDF
PDF
Introduction to Microprocessors
PDF
Microprocessor
PPT
8085 microprocessor architecture mpi(mai)
DOCX
Details 8086 Microprocessor
PDF
Microprocessors Assignment
PPTX
Difference between 8085 and 8086 microprocessor Architecture
PDF
Assembly Language and Structures of Microcomputer | Chap-1
PDF
Microprocessors & Microcomputers Lecture Notes
PDF
Unit 2 mpmc
PDF
Module 4 advanced microprocessors
PPT
1 Intro To Micro P
Microprocessor note
Unit 1 MPMC
microprocessor
Ei502 microprocessors & micrtocontrollers part 1
Advanced micro -processor
Microprocessor
Computer Evolution
Introduction to Microprocessors
Microprocessor
8085 microprocessor architecture mpi(mai)
Details 8086 Microprocessor
Microprocessors Assignment
Difference between 8085 and 8086 microprocessor Architecture
Assembly Language and Structures of Microcomputer | Chap-1
Microprocessors & Microcomputers Lecture Notes
Unit 2 mpmc
Module 4 advanced microprocessors
1 Intro To Micro P
Ad

Similar to Micro 2 (20)

PPT
microprocessor_8085_architecture.ppt
PPT
8085_architecture of microprocessor electricals .ppt
PPTX
Ece 8085-microprocessor-ppt
PDF
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
PPTX
New ideas and General MICROPROCESSOR-PPT.pptx
PDF
Mpmc unit 1 notes
PDF
8085_microprocessor_all_universities_syllabus
PDF
EE8551 MPMC
PDF
8085 microprocessor
PDF
PDF
Architecture OF 8085
PDF
PPTX
8085 Architecture.pptx420.pptx
DOCX
8085 archi
PPTX
Chapter 1 microprocessor introduction
PPTX
Z 80 processors (History-Products)
PDF
Microprocessors and microcontrollers
PPT
Pdemodule 4
PPTX
Introduction to microprocessor
microprocessor_8085_architecture.ppt
8085_architecture of microprocessor electricals .ppt
Ece 8085-microprocessor-ppt
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
New ideas and General MICROPROCESSOR-PPT.pptx
Mpmc unit 1 notes
8085_microprocessor_all_universities_syllabus
EE8551 MPMC
8085 microprocessor
Architecture OF 8085
8085 Architecture.pptx420.pptx
8085 archi
Chapter 1 microprocessor introduction
Z 80 processors (History-Products)
Microprocessors and microcontrollers
Pdemodule 4
Introduction to microprocessor
Ad

Recently uploaded (20)

PPTX
Core Concepts of Personalized Learning and Virtual Learning Environments
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
HVAC Specification 2024 according to central public works department
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
Hazard Identification & Risk Assessment .pdf
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
PPTX
Module on health assessment of CHN. pptx
PPTX
Education and Perspectives of Education.pptx
PDF
MICROENCAPSULATION_NDDS_BPHARMACY__SEM VII_PCI .pdf
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
semiconductor packaging in vlsi design fab
PPTX
What’s under the hood: Parsing standardized learning content for AI
PDF
Mucosal Drug Delivery system_NDDS_BPHARMACY__SEM VII_PCI.pdf
PDF
My India Quiz Book_20210205121199924.pdf
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
Core Concepts of Personalized Learning and Virtual Learning Environments
Share_Module_2_Power_conflict_and_negotiation.pptx
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
HVAC Specification 2024 according to central public works department
Paper A Mock Exam 9_ Attempt review.pdf.
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
Hazard Identification & Risk Assessment .pdf
FORM 1 BIOLOGY MIND MAPS and their schemes
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
Module on health assessment of CHN. pptx
Education and Perspectives of Education.pptx
MICROENCAPSULATION_NDDS_BPHARMACY__SEM VII_PCI .pdf
AI-driven educational solutions for real-life interventions in the Philippine...
semiconductor packaging in vlsi design fab
What’s under the hood: Parsing standardized learning content for AI
Mucosal Drug Delivery system_NDDS_BPHARMACY__SEM VII_PCI.pdf
My India Quiz Book_20210205121199924.pdf
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα

Micro 2

  • 1. Number Representations and Basic Processor Architecture Prof. Yusuf Leblebici Microelectronic Systems Laboratory (LSM) [email_address]
  • 9. Building Blocks of Processor Systems CPU
  • 10. Processor System Architecture The typical processor system consists of: CPU (central processing unit) ALU (arithmetic-logic unit) Control Logic Registers, etc… Memory Input / Output interfaces Interconnections between these units: Address Bus Data Bus Control Bus
  • 11. Bus and CPU Bus: A shared group of wires used for communicating signals among devices address bus: the device and the location within the device that is being accessed data bus: the data value being communicated control bus: describes the action on the address and data buses CPU: Core of the processor, where instructions are executed High-level language: a = b + c Assembly language: add r1 r2 r3 Machine language: 0001001010111010101
  • 12. Memory and I/O Memory: Where instructions (programs) and data are stored Organized in arrays of locations (addresses), each storing one byte (8 bits) in general A read operation to a particular location always returns the last value stored in that location I/O devices: Enable system to interact with the world Device interface (a.k.a. controller or adapter) hardware connects actual device to bus The CPU views the I/O device registers just like memory that can be accessed over the bus. However, I/O registers are connected to external wires, device control logic, etc. Reads may not return last value written Writes may have side effects
  • 13. 8085 Microprocessor Architecture Now we will examine these components more closely by using the Intel 8085 microprocessor architecture as an example:
  • 14. The 8085 Bus Structure The 8-bit 8085 CPU (or MPU – Micro Processing Unit) communicates with the other units using a 16-bit address bus, an 8-bit data bus and a control bus.
  • 15. The 8085 Bus Structure Address Bus Consists of 16 address lines: A 0 – A 15 Operates in unidirectional mode: The address bits are always sent from the MPU to peripheral devices, not reverse. 16 address lines are capable of addressing a total of 2 16 = 65,536 (64k) memory locations. Address locations: 0000 (hex) – FFFF (hex)
  • 16. The 8085 Bus Structure Data Bus Consists of 8 data lines: D 0 – D 7 Operates in bidirectional mode: The data bits are sent from the MPU to peripheral devices, as well as from the peripheral devices to the MPU. Data range: 00 (hex) – FF (hex) Control Bus Consists of various lines carrying the control signals such as read / write enable, flag bits.
  • 17. The 8085: CPU Internal Structure The internal architecture of the 8085 CPU is capable of performing the following operations: Store 8-bit data (Registers, Accumulator) Perform arithmetic and logic operations (ALU) Test for conditions (IF / THEN) Sequence the execution of instructions Store temporary data in RAM during execution
  • 18. The 8085: CPU Internal Structure Simplified block diagram
  • 20. The 8085: CPU Internal Structure Registers Six general purpose 8-bit registers: B, C, D, E, H, L They can also be combined as register pairs to perform 16-bit operations: BC, DE, HL Registers are programmable (data load, move, etc.) Accumulator Single 8-bit register that is part of the ALU ! Used for arithmetic / logic operations – the result is always stored in the accumulator.
  • 21. The 8085: CPU Internal Structure Flag Bits Indicate the result of condition tests. Carry, Zero, Sign, Parity, etc. Conditional operations (IF / THEN) are executed based on the condition of these flag bits. Program Counter (PC) Contains the memory address (16 bits) of the instruction that will be executed in the next step. Stack Pointer (SP)
  • 22. Example: Memory Read Operation
  • 23. Example: Instruction Fetch Operation All instructions (program steps) are stored in memory. To run a program, the individual instructions must be read from the memory in sequence, and executed. Program counter puts the 16-bit memory address of the instruction on the address bus Control unit sends the Memory Read Enable signal to access the memory The 8-bit instruction stored in memory is placed on the data bus and transferred to the instruction decoder Instruction is decoded and executed