ABSTRACT
This chapter is an introduction to assembly language programming based on Thumb2
instruction set architecture, where we first present the format of assembly language
instructions. After introducing a selected group of instructions, we discuss the other
necessary details (including assembler directives), which are required to transform a
set of assembly instructions to a standalone program that can be compiled and built
to an executable. In addition, the processor reset sequence is discussed. Finally, both
16-bit and 32-bit instruction encodings, used by Cortex-M, are explained.