ARM Overview: Difference between revisions

Jump to navigation Jump to search
m
[unchecked revision][unchecked revision]
Line 85:
Unlike the x86, important operating registers are clearly visible through general use registers. For example, r15 is 'pc', or the 'program counter', and r13 is the 'stack pointer', or 'sp'.
 
Along with the general purpose registers, there is also the CPSR register, or, the 'Current Program Status Register'. This registers keeps track of the current operating mode, whether interrupts are enabled or not, etc. The operating system can read and write to this register using the MSR\MRS instructions. ([http://www.arm.com/support/faqdev/1472.html See Here]) There are several other system registers which can be used to [[Detecting_Raspberry_Pi_Board|detect the ARM board]] for example.
 
{| class="wikitable"
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu