Jump to content

Category:ARM Assembly: Difference between revisions

no edit summary
m (→‎Conditional Opcodes: Rephrased a sentence for clarity)
No edit summary
Line 1:
{{stub}}{{language}}{{assembler language}}
The ARM architecture is widely used on mobile phones and tablets. It falls under the category of RISC (Reduced Instruction Set Computer) processors, which means it has fewer opcodes than a CPU such as those in the x86 family. However, it makes up for this with its speed. The ARM and its variants are used in many well-known systems such as the Raspberry Pi, Nintendo DS, iPad, and more.
===Registers===
 
The ARM has 15 main registers the programmer can use, numbered <code>R0</code> through <code>R15</code>. The higher-numbered ones have special purposes, but <code>R0</code> through <code>R10</code> can be used for anything. In other words, there are no commands that only work with <code>R0</code> (system calls notwithstanding). Registers with a specific purpose have alternate abbreviations that your assembler allows you to use for clarity.
===Barrel Shifter===
The ARM can add a bit shift or rotate to one of its operands at no additional cost to execution time or bytecode. If the operand being shifted is a register, the value of that register is not actually changed. The shift or rotate only applies during that instruction.
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.