ARM processors can work in different modes depending on the state of program execution at that particular point of time.
During normal execution, ARM processor will work in what is called the "User Mode". In this mode, there are a total of 16 General Purpose Registers (r0-r15) and 2 additional Status Registers available.
Out of these 16 GP Registers, there are certain special functionalities for registers r13-r15.
Register r13 is used as a Stack Pointer (SP), which can point to memory locations where in local variables and parameters of a function call will be placed when entering a sub-routine.
Register r14 is a Link Register (LR), which is again a special purpose register which would hold the return address when a sub-routine function is called.
Register r15 is a Program Counter (PC), which holds the address of the currently executing instruction. While operating in ARM mode, where in all instructions are 32 bit wide and word aligned, bits [1:0] of PC are undefined/ignored.
But depending on the modes, r13 and r14 can also be used as a GP register, although that is not so common in practice.
In addition to above, there are 2 Status Registers:
- CPSR: Current Program Status Regsiter
- SPSR: Saved Program Status Register
Blog Archive
-
▼
2009
(58)
-
►
July 2009
(24)
- HTC goes with Windows Mobile for its LEO
- SAMSUNG ARMANI 2
- Sony Ericsson "BAO"
- Staying fit, while on phone!
- MyTouch-3G “AppPack” Leaks
- Picures of HTC LEO
- Sony Ericsson KIKI
- Samsung working on a Tegra phone!
- O2 shipped malware with its Toshiba handsets!
- Ericsson wins on Nortel wireless assets
- All New LG Chocolate Series phone: The LG Black La...
- iPhone Virus: The "Apple Virus" is here!
- Motorola Shole: Moto's first ever Android edition!...
- Windows Mobile is now "Windows Phone"
- Sony Ericsson's logo to change!
- iPhone fixes the SMS virus!!
-
►
August 2009
(23)
- iPhone Nano, but not from Apple!
- HTC Hero Vs HTC Touch PRO2, which one to go for?
- Windows Phone OS (Windows Mobile 6.5): Demo Video...
- Why Windows Phone OS can possibly succeed?
- W508 and W508a: Difference between the two...
- Zune HD, latest pics
- The iPhone alternatives
- LG Layla - GM750, coming soon!
- Jalou, Xperia X5 (Nadine) - upcoming mobiles from ...
- Resisitive vs Capacitive touch screen, what's the ...
- HTC Mega & HTC Tachi- The first look!
- Windows Mobile 6.5, August edition pics seems to a...
- Snapdragon, Tegra, Hummingbird - Mobile processor ...
- What is Apple iTablet?
- MOTOROLA Morrisson to run on Android
- Motorola Sholes using OMAP processor from TI?
- Motorola Blur, a new UI for Android on its way?
- Xperia X2 from Sony Ericsson
- What is a Cell Phone Form Factor?
- Motorola Shole "touch screen" only version in stor...
- Nokia dumping Symbian?
- Next iPhone features (after iPhone 3GS)
- LG GD910 Watch Phone
-
▼
September 2009
(11)
- TUTORIALS: ARM PROCESSOR
- TUTORIALS: INTRODUCTION TO ARM PROCESSORS
- TUTORIALS: ARM ARCHITECTURE
- TUTORIALS: ARM PROCESSOR VERSIONS
- TUTORIALS: ARM ARCHITECTURE- CORE DATA PATH
- TUTORIALS: ARM REGISTERS
- TUTORIALS: ARM PROCESSOR MODES OF OPERATION
- VIDEO: SONY ERICSSON XPERIA PURENESS aka KIKI
- VIDEO: SONY ERICSSON XPERIA X2 REVIEW
- LOOK HOW TECHNOLOGY HAS EVOLVED!
- VIDEO: WINDOWS MOBILE 6.5 BUILD 23041 WITH TOUCHFL...
-
►
July 2009
(24)
Saturday, September 5, 2009
TUTORIALS: ARM REGISTERS
Labels:
ARM PROCESSOR,
HARDWARE,
TUTORIALS
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment