SlideShare a Scribd company logo
1 of 18
Block Diagram of ARM7ARM PROCESSOR ARCHITECTURE-2
ARM 7TDMI Processor
• The ARM7TDMI is a member of the ARM family
v4 of general-purpose 32-bit microprocessors.
• The ARM family offers high performance for very
low-power consumption .
• ARM 7 is mainly based on Load/Store architecture.
• Only load, store, and swap instructions can access
data from memory using the registers.
• To increase the efficiency of ARM7 a three stage
pipeline architecture is used during the execution.
Load/Store Explanation
• Let us consider an instruction : LDR R2,[R4]
contd
• Let us now consider the instruction : STR R3,[R1].
• Here the data from the register is stored into
memory location.
• The operation is opposite to LDR where data from
memory location is copied to Register.
• Also in STR Rn,[Rx] , Rn is the source and [Rx] is
the destination, which is also opposite as compared
to LDR.
• In LDR R2,[R4] instruction ,[R4] is the source and
R2 is the destination.
Load/Store Explanation
• Let us now consider the instruction : STR R3,[R1]
ARM 7TDMI Processor
• The ARM7TDMI is a member of the ARM family
v4 of general-purpose 32-bit microprocessors.
• The ARM family offers high performance for very
low-power consumption .
• ARM 7 is mainly based on Load/Store architecture.
• Only load, store, and swap instructions can access
data from memory using the registers.
• To increase the efficiency of ARM7 a three stage
pipeline architecture is used during the execution.
Two Architectures
• There are two popular computer architectures are in
use.The first one was Von Neumann model after a
famous Hungerian –American mathematician called
John Luis von Neumann and the other model is
Harvard Architecture.
• The earlier computers were based on Von Neumann
architecture (which is also popularly known as
Princeton Architecture).This architecture uses same
bus to carry both address and data from the
memory.
• As a single bus was used to perform both address
and data operations naturally there was some delay..
Explanation
• In the Neumann model a single memory is used both
for Data and address.In first cycle ,the address is
fetched and second cycle the data is fetched. So it’s a
2 cycle operation.
• Harvard model there are separate address nd Data
memories. So in a single cycle,both address and Data
are fetched.24-07-2020 yayavaram@yahoo.com 8
contd
• Harvard architectures , uses separate address and
data buses to fetch the address and data from
memories.
• As,the ARM7 was designed based on Von Neumann
architecture, to overcome the latency during the
fetching operations, it was associated with piple line
concept.
• This pipeline concept provides parallel execution of
instuctions.
• In a single clock cycle two or operations are
performed concurrently. This process enhances the
efficiency.
Three Stage Pipeline
• The three stage pipelined architecture of the ARM7
processor is shown below.
• Here in the first stage fetch operation takes place
and in the second stage decode operations and in the
third stage operations related to execution takes
place.
contd
• In addition to 3-stage pipe line concept ARM also
uses the Advanced Microcontroller Bus
Architecture (AMBA bus architecture).
• This AMBA include two system buses: the AMBA
High-Speed Bus (AHB) or the Advanced System
Bus (ASB), and the Advanced Peripheral Bus
(APB).
• While the ARM 7 is based on Neumann
architecture , ARM 9 is based on Harvard model
with 5 stage pipe line architecture.
Block Diagram of ARM7
Register Organization
• ARM has a total of 37 registers. In which - 31 are
general-purpose registers of 32-bits each, and six
status registers .
• But all these registers are not seen at once. The
processor state and operating mode decide which
registers are available to the programmer.
• At any time, among the 31 general purpose
registers only 16 registers are available to the user.
• The remaining 15 registers are used to speed up
exception processing.
• Also there are two program status registers: CPSR
and SPSR (Current Program Status Register &
Saved Program Status Register respectively).
contd
• In ARM state the registers r0 to r13 are orthogonal
it means an instruction that is applied r0 can be
equally applied to any other register.
• The ARM processor has three registers assigned to
a particular task or special function. They are r13,
r14, and r15.
contd
• The general purpose
register usage is given
below.
Ex : MOV r5, r2
ADD r1, r2
LDR r0, [r1]
STR R5,[R0]
contd
• Register r13 is traditionally used as the stack
pointer (sp) and stores the top of the stack in the
current processor mode.
• The Stack Pointer can be used as a general-purpose
register in ARM state only. In Thumb, SP is strictly
defined as the stack pointer.
• R14 is used as the subroutine link register to store a
copy of R15 when a Branch and Link (BL)
instruction is executed.
• In User mode, lr (or R14) is used as a link register
and lr is used as a general-purpose register if the
return address is stored on the stack.
contd
• R15 is used as a Program counter which stores the
address of the next instruction in the pipeline.
• Also, the branch instructions load the destination
address into PC.
• At all other times these registers may be treated as
a general-purpose registers.
24-07-2020 yayavaram@yahoo.com 18

More Related Content

What's hot

8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
Tech_MX
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
Muthu Manickam
 
Digital signal processor architecture
Digital signal processor architectureDigital signal processor architecture
Digital signal processor architecture
komal mistry
 

What's hot (20)

8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
 
Rs 232 interface
Rs 232 interfaceRs 232 interface
Rs 232 interface
 
Introduction to arm architecture
Introduction to arm architectureIntroduction to arm architecture
Introduction to arm architecture
 
8051 MICROCONTROLLER ARCHITECTURE.pptx
 8051 MICROCONTROLLER ARCHITECTURE.pptx 8051 MICROCONTROLLER ARCHITECTURE.pptx
8051 MICROCONTROLLER ARCHITECTURE.pptx
 
8251 USART
8251 USART8251 USART
8251 USART
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
 
ARM7-ARCHITECTURE
ARM7-ARCHITECTURE ARM7-ARCHITECTURE
ARM7-ARCHITECTURE
 
ARM Architecture
ARM ArchitectureARM Architecture
ARM Architecture
 
ARM Architecture
ARM ArchitectureARM Architecture
ARM Architecture
 
Advanced Pipelining in ARM Processors.pptx
Advanced Pipelining  in ARM Processors.pptxAdvanced Pipelining  in ARM Processors.pptx
Advanced Pipelining in ARM Processors.pptx
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
8253ppt
8253ppt8253ppt
8253ppt
 
ARM Exception and interrupts
ARM Exception and interrupts ARM Exception and interrupts
ARM Exception and interrupts
 
ARM- Programmer's Model
ARM- Programmer's ModelARM- Programmer's Model
ARM- Programmer's Model
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
 
Unit II Arm 7 Introduction
Unit II Arm 7 IntroductionUnit II Arm 7 Introduction
Unit II Arm 7 Introduction
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
Unit 1 Introduction to Embedded computing and ARM processor
Unit 1 Introduction to Embedded computing and ARM processorUnit 1 Introduction to Embedded computing and ARM processor
Unit 1 Introduction to Embedded computing and ARM processor
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
Digital signal processor architecture
Digital signal processor architectureDigital signal processor architecture
Digital signal processor architecture
 

Similar to Lect 2 ARM processor architecture

2 introduction to arm architecture
2 introduction to arm architecture2 introduction to arm architecture
2 introduction to arm architecture
satish1jisatishji
 
ARM Introduction 1.ppthhhhhhhhhhhhhuuuuuuu
ARM Introduction 1.ppthhhhhhhhhhhhhuuuuuuuARM Introduction 1.ppthhhhhhhhhhhhhuuuuuuu
ARM Introduction 1.ppthhhhhhhhhhhhhuuuuuuu
venur239
 

Similar to Lect 2 ARM processor architecture (20)

Arm
ArmArm
Arm
 
Unitii armarchitecture-130305014346-phpapp01
Unitii armarchitecture-130305014346-phpapp01Unitii armarchitecture-130305014346-phpapp01
Unitii armarchitecture-130305014346-phpapp01
 
Comparison between RISC architectures: MIPS, ARM and SPARC
Comparison between RISC architectures: MIPS, ARM and SPARCComparison between RISC architectures: MIPS, ARM and SPARC
Comparison between RISC architectures: MIPS, ARM and SPARC
 
Arm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furberArm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furber
 
mod 3-1.pptx
mod 3-1.pptxmod 3-1.pptx
mod 3-1.pptx
 
Arm processors' architecture
Arm processors'   architectureArm processors'   architecture
Arm processors' architecture
 
MPU Chp2.pptx
MPU Chp2.pptxMPU Chp2.pptx
MPU Chp2.pptx
 
EC8791 ARM Processor and Peripherals.pptx
EC8791 ARM Processor and Peripherals.pptxEC8791 ARM Processor and Peripherals.pptx
EC8791 ARM Processor and Peripherals.pptx
 
Unit 4 _ ARM Processors .pptx
Unit 4 _ ARM Processors .pptxUnit 4 _ ARM Processors .pptx
Unit 4 _ ARM Processors .pptx
 
Mod 3.pptx
Mod 3.pptxMod 3.pptx
Mod 3.pptx
 
arm_3.ppt
arm_3.pptarm_3.ppt
arm_3.ppt
 
2 introduction to arm architecture
2 introduction to arm architecture2 introduction to arm architecture
2 introduction to arm architecture
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
ARM Micro-controller
ARM Micro-controllerARM Micro-controller
ARM Micro-controller
 
ARM Processor ppt.pptx
ARM Processor ppt.pptxARM Processor ppt.pptx
ARM Processor ppt.pptx
 
LPC 2148 Instructions Set.ppt
LPC 2148 Instructions Set.pptLPC 2148 Instructions Set.ppt
LPC 2148 Instructions Set.ppt
 
arm.pptx
arm.pptxarm.pptx
arm.pptx
 
193010031-Introduction to registers in the 8086 Microprocessor..pptx
193010031-Introduction to registers in the 8086 Microprocessor..pptx193010031-Introduction to registers in the 8086 Microprocessor..pptx
193010031-Introduction to registers in the 8086 Microprocessor..pptx
 
Arm arc-2016
Arm arc-2016Arm arc-2016
Arm arc-2016
 
ARM Introduction 1.ppthhhhhhhhhhhhhuuuuuuu
ARM Introduction 1.ppthhhhhhhhhhhhhuuuuuuuARM Introduction 1.ppthhhhhhhhhhhhhuuuuuuu
ARM Introduction 1.ppthhhhhhhhhhhhhuuuuuuu
 

More from Dr.YNM

More from Dr.YNM (20)

Introduction to DSP.ppt
Introduction to DSP.pptIntroduction to DSP.ppt
Introduction to DSP.ppt
 
Atmel.ppt
Atmel.pptAtmel.ppt
Atmel.ppt
 
PIC Microcontrollers.ppt
PIC Microcontrollers.pptPIC Microcontrollers.ppt
PIC Microcontrollers.ppt
 
Crystalstructure-.ppt
Crystalstructure-.pptCrystalstructure-.ppt
Crystalstructure-.ppt
 
Basics of OS & RTOS.ppt
Basics of OS & RTOS.pptBasics of OS & RTOS.ppt
Basics of OS & RTOS.ppt
 
Introducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptxIntroducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptx
 
Microcontroller-8051.ppt
Microcontroller-8051.pptMicrocontroller-8051.ppt
Microcontroller-8051.ppt
 
Introduction to ASICs.pptx
Introduction to ASICs.pptxIntroduction to ASICs.pptx
Introduction to ASICs.pptx
 
VHDL-PRESENTATION.ppt
VHDL-PRESENTATION.pptVHDL-PRESENTATION.ppt
VHDL-PRESENTATION.ppt
 
Basics of data communications.pptx
Basics of data communications.pptxBasics of data communications.pptx
Basics of data communications.pptx
 
CPLD & FPGA Architectures and applictionsplications.pptx
CPLD & FPGA Architectures and applictionsplications.pptxCPLD & FPGA Architectures and applictionsplications.pptx
CPLD & FPGA Architectures and applictionsplications.pptx
 
Transient response of RC , RL circuits with step input
Transient response of RC , RL circuits  with step inputTransient response of RC , RL circuits  with step input
Transient response of RC , RL circuits with step input
 
CISC & RISC ARCHITECTURES
CISC & RISC ARCHITECTURESCISC & RISC ARCHITECTURES
CISC & RISC ARCHITECTURES
 
Lect 4 ARM PROCESSOR ARCHITECTURE
Lect 4 ARM PROCESSOR ARCHITECTURELect 4 ARM PROCESSOR ARCHITECTURE
Lect 4 ARM PROCESSOR ARCHITECTURE
 
Lect 3 ARM PROCESSOR ARCHITECTURE
Lect 3  ARM PROCESSOR ARCHITECTURE Lect 3  ARM PROCESSOR ARCHITECTURE
Lect 3 ARM PROCESSOR ARCHITECTURE
 
Microprocessor Architecture 4
Microprocessor Architecture  4Microprocessor Architecture  4
Microprocessor Architecture 4
 
Microprocessor Architecture-III
Microprocessor Architecture-IIIMicroprocessor Architecture-III
Microprocessor Architecture-III
 
LECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORSLECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORS
 
Microprocessor architecture II
Microprocessor architecture   IIMicroprocessor architecture   II
Microprocessor architecture II
 
Verilog Test Bench
Verilog Test BenchVerilog Test Bench
Verilog Test Bench
 

Recently uploaded

ALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdfALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
Madan Karki
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Lovely Professional University
 

Recently uploaded (20)

RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfRESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
 
Artificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian ReasoningArtificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian Reasoning
 
Software Engineering - Modelling Concepts + Class Modelling + Building the An...
Software Engineering - Modelling Concepts + Class Modelling + Building the An...Software Engineering - Modelling Concepts + Class Modelling + Building the An...
Software Engineering - Modelling Concepts + Class Modelling + Building the An...
 
ANSI(ST)-III_Manufacturing-I_05052020.pdf
ANSI(ST)-III_Manufacturing-I_05052020.pdfANSI(ST)-III_Manufacturing-I_05052020.pdf
ANSI(ST)-III_Manufacturing-I_05052020.pdf
 
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdfALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdf
 
15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon
 
BURGER ORDERING SYSYTEM PROJECT REPORT..pdf
BURGER ORDERING SYSYTEM PROJECT REPORT..pdfBURGER ORDERING SYSYTEM PROJECT REPORT..pdf
BURGER ORDERING SYSYTEM PROJECT REPORT..pdf
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge
 
ChatGPT Prompt Engineering for project managers.pdf
ChatGPT Prompt Engineering for project managers.pdfChatGPT Prompt Engineering for project managers.pdf
ChatGPT Prompt Engineering for project managers.pdf
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
Quiz application system project report..pdf
Quiz application system project report..pdfQuiz application system project report..pdf
Quiz application system project report..pdf
 
Electrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineElectrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission line
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
 
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesLinux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
 
Dairy management system project report..pdf
Dairy management system project report..pdfDairy management system project report..pdf
Dairy management system project report..pdf
 

Lect 2 ARM processor architecture

  • 1. Block Diagram of ARM7ARM PROCESSOR ARCHITECTURE-2
  • 2. ARM 7TDMI Processor • The ARM7TDMI is a member of the ARM family v4 of general-purpose 32-bit microprocessors. • The ARM family offers high performance for very low-power consumption . • ARM 7 is mainly based on Load/Store architecture. • Only load, store, and swap instructions can access data from memory using the registers. • To increase the efficiency of ARM7 a three stage pipeline architecture is used during the execution.
  • 3. Load/Store Explanation • Let us consider an instruction : LDR R2,[R4]
  • 4. contd • Let us now consider the instruction : STR R3,[R1]. • Here the data from the register is stored into memory location. • The operation is opposite to LDR where data from memory location is copied to Register. • Also in STR Rn,[Rx] , Rn is the source and [Rx] is the destination, which is also opposite as compared to LDR. • In LDR R2,[R4] instruction ,[R4] is the source and R2 is the destination.
  • 5. Load/Store Explanation • Let us now consider the instruction : STR R3,[R1]
  • 6. ARM 7TDMI Processor • The ARM7TDMI is a member of the ARM family v4 of general-purpose 32-bit microprocessors. • The ARM family offers high performance for very low-power consumption . • ARM 7 is mainly based on Load/Store architecture. • Only load, store, and swap instructions can access data from memory using the registers. • To increase the efficiency of ARM7 a three stage pipeline architecture is used during the execution.
  • 7. Two Architectures • There are two popular computer architectures are in use.The first one was Von Neumann model after a famous Hungerian –American mathematician called John Luis von Neumann and the other model is Harvard Architecture. • The earlier computers were based on Von Neumann architecture (which is also popularly known as Princeton Architecture).This architecture uses same bus to carry both address and data from the memory. • As a single bus was used to perform both address and data operations naturally there was some delay..
  • 8. Explanation • In the Neumann model a single memory is used both for Data and address.In first cycle ,the address is fetched and second cycle the data is fetched. So it’s a 2 cycle operation. • Harvard model there are separate address nd Data memories. So in a single cycle,both address and Data are fetched.24-07-2020 yayavaram@yahoo.com 8
  • 9. contd • Harvard architectures , uses separate address and data buses to fetch the address and data from memories. • As,the ARM7 was designed based on Von Neumann architecture, to overcome the latency during the fetching operations, it was associated with piple line concept. • This pipeline concept provides parallel execution of instuctions. • In a single clock cycle two or operations are performed concurrently. This process enhances the efficiency.
  • 10. Three Stage Pipeline • The three stage pipelined architecture of the ARM7 processor is shown below. • Here in the first stage fetch operation takes place and in the second stage decode operations and in the third stage operations related to execution takes place.
  • 11. contd • In addition to 3-stage pipe line concept ARM also uses the Advanced Microcontroller Bus Architecture (AMBA bus architecture). • This AMBA include two system buses: the AMBA High-Speed Bus (AHB) or the Advanced System Bus (ASB), and the Advanced Peripheral Bus (APB). • While the ARM 7 is based on Neumann architecture , ARM 9 is based on Harvard model with 5 stage pipe line architecture.
  • 13. Register Organization • ARM has a total of 37 registers. In which - 31 are general-purpose registers of 32-bits each, and six status registers . • But all these registers are not seen at once. The processor state and operating mode decide which registers are available to the programmer. • At any time, among the 31 general purpose registers only 16 registers are available to the user. • The remaining 15 registers are used to speed up exception processing. • Also there are two program status registers: CPSR and SPSR (Current Program Status Register & Saved Program Status Register respectively).
  • 14. contd • In ARM state the registers r0 to r13 are orthogonal it means an instruction that is applied r0 can be equally applied to any other register. • The ARM processor has three registers assigned to a particular task or special function. They are r13, r14, and r15.
  • 15. contd • The general purpose register usage is given below. Ex : MOV r5, r2 ADD r1, r2 LDR r0, [r1] STR R5,[R0]
  • 16. contd • Register r13 is traditionally used as the stack pointer (sp) and stores the top of the stack in the current processor mode. • The Stack Pointer can be used as a general-purpose register in ARM state only. In Thumb, SP is strictly defined as the stack pointer. • R14 is used as the subroutine link register to store a copy of R15 when a Branch and Link (BL) instruction is executed. • In User mode, lr (or R14) is used as a link register and lr is used as a general-purpose register if the return address is stored on the stack.
  • 17. contd • R15 is used as a Program counter which stores the address of the next instruction in the pipeline. • Also, the branch instructions load the destination address into PC. • At all other times these registers may be treated as a general-purpose registers.