Professional Documents
Culture Documents
ARM Processor
ARM Processor
MICROCONTROLLER –ARCHITECTURE
AND ASSEMBLY LANGUAGE
PROGRAMMING
History of the ARM Processor
Thumb
MMU and MPU
Cache
Debug interface
Embedded ICE macrocell
Fast muliplier
Enhanced instructions
Jazelle DBX (Direct Bytecode eXecution)
Vector floating point unit
Synthesizable
Early naming convention for ARM
Features of the architecture variants of ARM
Features of ARM which make it special
Memory bank
Data Alignment
Assembly Language Programming
Instruction Set
Data Processing Instructions
Ex ROL :
32-n,
32-4=28
Combining MOV and Shift
Conditional Execution
MOV R3, R5, LSL #3, there is a logical operation involved, that is, the left
shift operation.
MOVS R3, R5, LSL #3, this is executed, and find the N and C flags to
be set.
Arithmetic Instructions
Logical Instructions
Compare Instructions
Anything written after the END directive will be ignored by the assembler.
General Structure of an assembly Language Line
EQU is used to equate a numeric constant to a label. The constant may be data
or address. Examples are as follows:
Constants allowed
The RN directive-for naming registers
Solution
Branch Instructions
Branch instruction usage -examples
Subroutines/Procedures –using the Link register
Pre-indexed
Post-indexed
Pre-indexed Addressing
Next, see the instruction STR R1, [R5, R6, LSL #2].