You are on page 1of 37

RAJAREDDY INSTITUTEOF TECHNOLOGY

Computer Organization and ARM Microcontroller

UNIT NO: 4 & NAME: INTRODUCTION TO THE ARM


INSTRUCTION SET
SUB CODE:21EC52(IPCC)

FACULTY NAME : SHYAMALA P

23/12/2023 © R R INSTITUTIONS , BANGALORE 1


CONTENT

• Introduction
• Data processing instructions
• Load - Store instruction
• Software interrupt instructions
• Program status register instructions
• Loading constants
• ARMv5E extensions
CO4: Describe the architectural features and instructions of 32-bit microcontroller ARM Cortex M3.
• Conditional Execution.
© R R INSTITUTIONS , BANGALORE
23/12/2023 2
INTRODUCTION TO ARM INSTRUCTION SET

© R R INSTITUTIONS , BANGALORE
23/12/2023 3
© R R INSTITUTIONS , BANGALORE
23/12/2023 4
© R R INSTITUTIONS , BANGALORE
23/12/2023 5
© R R INSTITUTIONS , BANGALORE
23/12/2023 6
Using a Barrel Shifter : second operand

© R R INSTITUTIONS , BANGALORE
23/12/2023 7
© R R INSTITUTIONS , BANGALORE
23/12/2023 8
© R R INSTITUTIONS , BANGALORE
23/12/2023 9
Arithmetic Instructions

© R R INSTITUTIONS , BANGALORE
23/12/2023 10
Using the Barrel Shifter with Arithmetic Instructions

© R R INSTITUTIONS , BANGALORE
23/12/2023 11
Logical Instructions

© R R INSTITUTIONS , BANGALORE
23/12/2023 12
Comparison Instructions

© R R INSTITUTIONS , BANGALORE
23/12/2023 13
Multiply Instructions

23/12/2023 © R R INSTITUTIONS , BANGALORE 14


Long Multiplication(64 Bits)

23/12/2023 © R R INSTITUTIONS , BANGALORE 15


Branch Instructions

23/12/2023 © R R INSTITUTIONS , BANGALORE 16


23/12/2023 © R R INSTITUTIONS , BANGALORE 17
23/12/2023 © R R INSTITUTIONS , BANGALORE 18
23/12/2023 © R R INSTITUTIONS , BANGALORE 19
Single-Register Load-Store Addressing
Modes

23/12/2023 © R R INSTITUTIONS , BANGALORE 20


Multiple-Register Transfer

23/12/2023 © R R INSTITUTIONS , BANGALORE 21


Multiple-Register Transfer

23/12/2023 © R R INSTITUTIONS , BANGALORE 22


Stack Operations

23/12/2023 © R R INSTITUTIONS , BANGALORE 23


Stack Operations (Addressing Modes)

23/12/2023 © R R INSTITUTIONS , BANGALORE 24


23/12/2023 © R R INSTITUTIONS , BANGALORE 25
23/12/2023 © R R INSTITUTIONS , BANGALORE 26
Swap Instruction

23/12/2023 © R R INSTITUTIONS , BANGALORE 27


Software Interrupt Instruction

23/12/2023 © R R INSTITUTIONS , BANGALORE 28


Program Status Register Instructions

23/12/2023 © R R INSTITUTIONS , BANGALORE 29


Program Status Register Instructions

23/12/2023 © R R INSTITUTIONS , BANGALORE 30


Coprocessor Instructions

23/12/2023 © R R INSTITUTIONS , BANGALORE 31


Coprocessor Instructions

23/12/2023 © R R INSTITUTIONS , BANGALORE 32


Loading Constants

23/12/2023 © R R INSTITUTIONS , BANGALORE 33


ARM V5E EXTENSIONS

© R R INSTITUTIONS , BANGALORE
23/12/2023 34
© R R INSTITUTIONS , BANGALORE
23/12/2023 35
23/12/2023 © R R INSTITUTIONS , BANGALORE 36
ARM V5E MULTIPLY INSTRUCTIONS

23/12/2023 © R R INSTITUTIONS , BANGALORE 37

You might also like