O'Reilly logo

The Definitive Guide to ARM® Cortex®-M0 and Cortex-M0+ Processors, 2nd Edition by Joseph Yiu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Conventions

Various typographical conventions have been used in this book, as follows:
• Normal assembly program codes:
MOV R0, R1 ; Move data from Register R1 to Register R0
• Assembly code in generalized syntax; items inside “< >” must be replaced by real register names:
MRS <reg>, <special_reg> ;
• C program codes:
for (i = 0;i < 3;i++) { func1(); }
• Pseudo code:
if (a > b) { …
Values:
1. 4'hC, 0x123 are both hexadecimal values
2. #3 indicates item number 3 (e.g., IRQ #3 means IRQ number 3)
3. #immed_12 refers to 12-bit immediate data
4. Register bits—Typically used to illustrate a part of a value based on bit position. For example, bit[15:12] means bit number 15 down to 12.
Register access types:
1. R is Read only
2. W is Write only
3. R/W is Read or Write ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required