1. Shift Operation Instructions LSL, LSR, ASR, ROR, RRX
2. Instruction Condition Code
3. Memory Access Instructions
— LDR Word Data Load Instruction.<span>LDR</span>
<span> instruction is used to transfer a</span>
<span> 32</span>
<span>-bit word data from memory to the destination register. This instruction is usually used to read</span>
<span> 32</span>
<span>-bit word data into a general-purpose register for processing.</span>
— LDRB Byte Data Load Instruction.<span>LDRB</span>
<span> instruction is used to transfer an</span>
<span> 8</span>
<span>-bit byte data from memory to the destination register, while clearing the upper</span>
<span> 24</span>
<span> bits of the register. This instruction is usually used to read</span>
<span> 8</span>
<span>-bit byte data into a general-purpose register for processing.</span>
— LDRH Halfword Data Load Instruction.<span>LDRH</span>
<span> instruction is used to transfer a</span>
<span> 16</span>
<span>-bit halfword data from memory to the destination register, while clearing the upper</span>
<span> 16</span>
<span> bits of the register. This instruction is usually used to read</span>
<span> 16</span>
<span>-bit halfword data into a general-purpose register for processing.</span>
— STR Word Data Store Instruction.<span>STR</span>
<span> instruction is used to transfer a</span>
<span> 32</span>
<span>-bit word data from the source register to memory.</span>
— STRB Byte Data Store Instruction.<span>STRB</span>
<span> instruction is used to transfer an</span>
<span> 8</span>
<span>-bit byte data from the source register to memory.</span>
— STRH Halfword Data Store Instruction.<span>STRH</span>
<span> instruction is used to transfer a</span>
<span> 16</span>
<span>-bit halfword data from the source register to memory.</span>
4. Arithmetic Operation Instructions
5. Logic Operation Instructions
AND |
Logical AND Operation Instruction |
ORR |
Logical OR Operation Instruction |
EOR |
Logical XOR Operation Instruction |
BIC |
Bit Clear Instruction |
6. Other Common Instructions
CMP |
Comparison Instruction |
MUL |
32-bit Multiplication Instruction |
B |
Branch Instruction |
BL |
Branch with Link Instruction |
SWI |
Software Interrupt Instruction SWI 12 |
MRS |
Read Status Register Instruction MRS R0,CPSR |
MSR |
Write Status Register Instruction MSR CPSR,R1 |
DCB |
Used to allocate a contiguous block of memory and initialize with specified data |
CODE16/CODE32 |
Tells the compiler the type of the following instructions |