Professional Documents
Culture Documents
ARM ARCHIETURE
BY
ROHINI
MYTHILI
WHAT IS ARM?
Load/store architecture
Auto increment and auto decrement operation
Mostly single-cycle execution
Enhanced power-saving design
64 and 32 bit execution for scalable high
performance
Hardware virtualization support
RISC & CISC
N
NEGATIVE
Z
ZERO
C
CARRY
V
OVERFLOW
UNDERFLOW Q
J
JAZELLE
GREATER THAN OR
GE
REGISTERS
ENDIANNESS
A
ABORT DISABLE
I
IRQ DISABLE
F
FIQ DISABLE
CPSR – Current Program Status Register
THUMB
M
PROCESSOR MODE
(PRIVILEGE MODE)
CPSR REGISTER
Increases speed –
most instructions executed in single cycle
Versions:
3-stage (ARM7TDMI and earlier)
5-stage (ARMS, ARM9TDMI)
6-stage (ARM10TDMI)
OPERATION MODES
Seven operating modes:
User
Privileged:
System (version 4 and above)
FIQ
IRQ
Supervisor
OPERATION MODES
User mode:
a normal program execution state
FIQ – Fast Interrupt:
for fast interrupt handling
IRQ – Normal Interrupt:
for general purpose interrupt handling
Supervisor mode (SVC):
a protected mode for operating system
OPERATION MODES
Abort mode:
when a data or instruction pre-fetch is aborted
–
Undefined mode:
when an undefined instruction is executed
–
System mode:
a privileged user mode for the operating system
PROCESSOR STATES
Arm state:
all instructionsare 32bits long, word-aligned. –
Thumb state:
Branch Instruction:
Changes the flow of sequential execution of
instructions and force to modify the program
counter.
Load/Store Instruction:
1.To transfer data between memory and
registers.
2.LDR,STR,LDRB,STRB
INSTRUCTIONS IN ARM
Swap Instruction:
1.to swap the content of memory with the
content of registers.
2.SWP,SWPB
Software Interrupt Instruction:
1.To call the operating system functions.
2.SWI
INSTRUCTIONS IN ARM
Mobile phones
Patient monitoring
Image processing
ARM BASED PROCESSOR
MERITS
Cheap
Easy to develop
High performance
Increases speed
DEMERITS