0% found this document useful (0 votes)
126 views

ARM 7 Programmers Model

This document provides an overview of the ARM7 processor and its programming model. It describes the 7 different processor modes and how each mode has access to 16 general purpose registers (GPRs). It also discusses the purpose of key registers like the Program Counter (PC), Link Register (LR), and Stack Pointer (SP) and how some registers are "banked" between modes. Finally, it notes that with banked registers, the ARM7 effectively has 37 registers total, despite only having 32 physical registers.

Uploaded by

soumya salian
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
126 views

ARM 7 Programmers Model

This document provides an overview of the ARM7 processor and its programming model. It describes the 7 different processor modes and how each mode has access to 16 general purpose registers (GPRs). It also discusses the purpose of key registers like the Program Counter (PC), Link Register (LR), and Stack Pointer (SP) and how some registers are "banked" between modes. Finally, it notes that with banked registers, the ARM7 effectively has 37 registers total, despite only having 32 physical registers.

Uploaded by

soumya salian
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Date.

Page..

MODEL
PROGRAmmERS
ARM 7

(STEM
FIR
5UPERVISOR NDEFINED
USER A B O R
T

IR

Ro Ro Ro
Ro Ro Ro
R
RI RI Ri RI RI
R2 Ra R2 R2
R2
R3 R3 R3
R3 R3 R3
R4 RH RH R4 Ry RA
Rs Rs Rs Rs Rs

R R6 R R6 R6
R6
R7 R7 R7 R R7
Ra Rg- F1Q Rs Rs Rs
Ra Rg-FIQ Ra Ra Ra R
RIO Rio-F1Q Rio RIo Rio
RI RIr- F1Q R RI RI
RI2 RI2-FIQ Ri2 Ri2 Ri2 Ri2
Ri3.SVC RI3-ABT RI3-1RQa Ri3-UND
RI3 Ri3.FIQ
R-FIQ R14-SVC R14-ABT Ry-1RQ R14-UND
RIS(PC) Rs (PE)|Rs (PC) RIs(PO RIs (PC) | RIs (PC)

STATUS REGISTERS
ARM- PROGRAm

CPSR CPSR cPSR CPSR CPSR CPSR

SPSR FI SPSR SVC SPSR ABT SPSR SPSR UND


Date.....l....i.

Page...********

OARm 7 has 7 mocdes op vattons


For each mode Pmgrammer
, has acce sS o
16 GPRS (Ro - Ris )
CPSR
SPSR
except ustr/ System nmode

RIS PC Povoram Counte7)


PCves oresS O tue inshrucHon to be etcued
Jhis address sput up on t addrese bus
inshwchon ` Jehehed rom memo2 hwugh
32 bit data bus

) R4- LR Link Register)


SYoreS the aetuan addbess (value o Pe)when
Hhere /S a branch_nswcton or 9ntemup
wluile Feurning batk_to main prweram the Value
L R witl be_put back Into PC

9KB - SP ( Sack Pointer)


-Holcls address o top o_ Stack

6Some banked Rea, a vatlable in Spe cufic Operahr


Aodes

FrR MOde
R8-Ky_proudeoe sh ser -
GPRS

D|A other modes have terr Own ersions S P & LR

7hsJives total 37 Reg eall 32 bilss

You might also like