Beruflich Dokumente
Kultur Dokumente
T H E A R C H I T E C T U R E F O R T
TM H E D I G I T A L W O R1 L D
Agenda
32 bit Microcontroller
32 bit ALU
32 bit data bus
32 bit Instruction Set(RISC)
32 bit address bus(4 GB memory)
Von Neumann Model(common data memory and programme memory)
3 stage pipeline(f,d,e)
37 registers each(available r0-r15 at a time, 31 gpr,6 status registers)
Load-Store model
7 operating modes and 7 interrupts and exceptions
7 addressing modes
3 data formats(8,16,32 bit formats)
13
39v10 The ARM Architecture TM
13 13
Processor Modes
The ARM has seven basic operating modes:
User : non-privileged mode under which most tasks run(programs and
applications)
Supervisor : entered on reset (operating system kernal operates in) and when
a Software Interrupt instruction is executed
System : privileged mode using the same registers as user mode that allows
full read- write access to cpsr.
cpsr
spsr spsr spsr spsr spsr spsr
cpsr
spsr spsr spsr spsr spsr
N Z C V Q J U n d e f i n e d I F T mode
f s x c
Condition code flags Interrupt Disable bits.
N = Negative result from ALU I = 1: Disables the IRQ.
Z = Zero result from ALU F = 1: Disables the FIQ.
C = ALU operation Carried out
V = ALU operation oVerflowed
T Bit
Architecture xT only
T = 0: Processor in ARM state
Sticky Overflow flag - Q flag
T = 1: Processor in Thumb state
Architecture 5TE/J only
Indicates if saturation has occurred
Mode bits
Specify the processor mode
J bit
Architecture 5TEJ only
J = 1: Processor in Jazelle state
(JAVA execution)
Interrupts are used to handle external events (serial ports, keyboard) and
exceptions are used to handle instruction faults, (division by zero, undefined opcode).