Amazon cover image
Image from Amazon.com

Assembly Language Programming : ARM Cortex-M3.

By: Material type: TextTextSeries: ISTEPublication details: London : Wiley, 2013.Description: 1 online resource (258 pages)Content type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9781118562123
  • 1118562127
  • 9781118565971
  • 1118565975
  • 1848213298
  • 9781848213296
  • 9781299315846
  • 1299315844
Subject(s): Genre/Form: Additional physical formats: Print version:: Assembly Language Programming : ARM Cortex-M3.DDC classification:
  • 005.13/3 23
  • 005.2
LOC classification:
  • TK7895.E42
Online resources:
Contents:
Cover; Assembly Language Programming; Title Page; Copyright Page; Table of Contents; Preface; Chapter 1. Overview of Cortex-M3 Architecture; 1.1. Assembly language versus the assembler; 1.2. The world of ARM; 1.2.1. Cortex-M3; 1.2.2. The Cortex-M3 core in STM32; Chapter 2. The Core of Cortex-M3; 2.1. Modes, privileges and states; 2.2. Registers; 2.2.1. Registers R0 to R12; 2.2.2. The R13 register, also known as SP; 2.2.3. The R14 register, also known as LR; 2.2.4. The R15 or PC register; 2.2.5. The xPSR register; Chapter 3. The Proper Use of Assembly Directives.
3.1. The concept of the directive3.1.1. Typographic conventions and use of symbols; 3.2. Structure of a program; 3.2.1. The AREA sections; 3.3. A section of code; 3.3.1. Labels; 3.3.2. Mnemonic; 3.3.3. Operands; 3.3.4. Comments; 3.3.5. Procedure; 3.4. The data section; 3.4.1. Simple reservation; 3.4.2. Reservation with initialization; 3.4.3. Data initialization: the devil is in the details; 3.5. Is that all?; 3.5.1. Memory management directives; 3.5.2. Project management directives; 3.5.3. Various and varied directives; Chapter 4. Operands of Instructions; 4.1. The constant and renaming.
4.2. Operands for common instructions4.2.1. Use of registers; 4.2.2. The immediate operand; 4.3. Memory access operands: addressing modes; 4.3.1. The pointer concept; 4.3.2. Addressing modes; Chapter 5. Instruction Set; 5.1. Reading guide; 5.1.1. List of possible "condition" suffixes; 5.2. Arithmetic instructions; 5.3. Logical and bit manipulation instructions; 5.4. Internal transfer instructions; 5.5. Test instructions; 5.6. Branch instructions; 5.7. Load/store instructions; 5.7.1. Simple transfers; 5.7.2. Multiple transfers; 5.7.3. Access to the system stack.
5.8. "System" instructions and othersChapter 6. Algorithmic and Data Structures; 6.1. Flowchart versus algorithm; 6.2. Alternative structures; 6.2.1. Simple (or shortened) alternative; 6.2.2. Complete alternative; 6.2.3. Special case of the alternative; 6.2.4. Multiple choice; 6.3. Iterative structures; 6.3.1. The Repeat ... Until loop; 6.3.2. The While ... Do loop; 6.3.3. The For ... loop; 6.4. Compound conditions; 6.4.1. Alternative with AND; 6.4.2. Iteration with AND; 6.4.3. Alternative with OR; 6.4.4. Iteration with OR; 6.5. Data structure; 6.5.1. Table in one dimension.
6.5.2. Tables in multiple dimensions6.5.3. Registration; 6.5.4. Non-dimensional table, character string; 6.5.5. Queue; 6.5.6. Stack; Chapter 7. Internal Modularity; 7.1. Detailing the concept of procedure; 7.1.1. Simple call; 7.1.2. Nested calls; 7.1.3. "Red wire" example; 7.2. Procedure arguments; 7.2.1. Usefulness of arguments; 7.2.2. Arguments by value and by reference; 7.2.3. Passing arguments by general registers; 7.2.4. Passing arguments by a stack; 7.2.5. Passing arguments by the system stack; 7.2.6. On the art of mixing; 7.3. Local data; 7.3.1. Simple reservation of local data.
Summary: ARM designs the cores of microcontrollers which equip most "embedded systems" based on 32-bit processors. Cortex M3 is one of these designs, recently developed by ARM with microcontroller applications in mind. To conceive a particularly optimized piece of software (as is often the case in the world of embedded systems) it is often necessary to know how to program in an assembly language. This book explains the basics of programming in an assembly language, while being based on the architecture of Cortex M3 in detail and developing many examples. It is written for people who have never pr.
Tags from this library: No tags from this library for this title. Log in to add tags.
No physical items for this record

Cover; Assembly Language Programming; Title Page; Copyright Page; Table of Contents; Preface; Chapter 1. Overview of Cortex-M3 Architecture; 1.1. Assembly language versus the assembler; 1.2. The world of ARM; 1.2.1. Cortex-M3; 1.2.2. The Cortex-M3 core in STM32; Chapter 2. The Core of Cortex-M3; 2.1. Modes, privileges and states; 2.2. Registers; 2.2.1. Registers R0 to R12; 2.2.2. The R13 register, also known as SP; 2.2.3. The R14 register, also known as LR; 2.2.4. The R15 or PC register; 2.2.5. The xPSR register; Chapter 3. The Proper Use of Assembly Directives.

3.1. The concept of the directive3.1.1. Typographic conventions and use of symbols; 3.2. Structure of a program; 3.2.1. The AREA sections; 3.3. A section of code; 3.3.1. Labels; 3.3.2. Mnemonic; 3.3.3. Operands; 3.3.4. Comments; 3.3.5. Procedure; 3.4. The data section; 3.4.1. Simple reservation; 3.4.2. Reservation with initialization; 3.4.3. Data initialization: the devil is in the details; 3.5. Is that all?; 3.5.1. Memory management directives; 3.5.2. Project management directives; 3.5.3. Various and varied directives; Chapter 4. Operands of Instructions; 4.1. The constant and renaming.

4.2. Operands for common instructions4.2.1. Use of registers; 4.2.2. The immediate operand; 4.3. Memory access operands: addressing modes; 4.3.1. The pointer concept; 4.3.2. Addressing modes; Chapter 5. Instruction Set; 5.1. Reading guide; 5.1.1. List of possible "condition" suffixes; 5.2. Arithmetic instructions; 5.3. Logical and bit manipulation instructions; 5.4. Internal transfer instructions; 5.5. Test instructions; 5.6. Branch instructions; 5.7. Load/store instructions; 5.7.1. Simple transfers; 5.7.2. Multiple transfers; 5.7.3. Access to the system stack.

5.8. "System" instructions and othersChapter 6. Algorithmic and Data Structures; 6.1. Flowchart versus algorithm; 6.2. Alternative structures; 6.2.1. Simple (or shortened) alternative; 6.2.2. Complete alternative; 6.2.3. Special case of the alternative; 6.2.4. Multiple choice; 6.3. Iterative structures; 6.3.1. The Repeat ... Until loop; 6.3.2. The While ... Do loop; 6.3.3. The For ... loop; 6.4. Compound conditions; 6.4.1. Alternative with AND; 6.4.2. Iteration with AND; 6.4.3. Alternative with OR; 6.4.4. Iteration with OR; 6.5. Data structure; 6.5.1. Table in one dimension.

6.5.2. Tables in multiple dimensions6.5.3. Registration; 6.5.4. Non-dimensional table, character string; 6.5.5. Queue; 6.5.6. Stack; Chapter 7. Internal Modularity; 7.1. Detailing the concept of procedure; 7.1.1. Simple call; 7.1.2. Nested calls; 7.1.3. "Red wire" example; 7.2. Procedure arguments; 7.2.1. Usefulness of arguments; 7.2.2. Arguments by value and by reference; 7.2.3. Passing arguments by general registers; 7.2.4. Passing arguments by a stack; 7.2.5. Passing arguments by the system stack; 7.2.6. On the art of mixing; 7.3. Local data; 7.3.1. Simple reservation of local data.

7.3.2. Using a chained list.

ARM designs the cores of microcontrollers which equip most "embedded systems" based on 32-bit processors. Cortex M3 is one of these designs, recently developed by ARM with microcontroller applications in mind. To conceive a particularly optimized piece of software (as is often the case in the world of embedded systems) it is often necessary to know how to program in an assembly language. This book explains the basics of programming in an assembly language, while being based on the architecture of Cortex M3 in detail and developing many examples. It is written for people who have never pr.

Print version record.

Includes bibliographical references (page 239) and index.

General Management