List of Listings

Listing 2.1 “Hello World” program in ARM assembly 36

Listing 2.2 “Hello World” program in C 37

Listing 2.3 “Hello World” assembly Listing 39

Listing 2.4 A Listing with mis-aligned data 43

Listing 2.5 A Listing with properly aligned data 45

Listing 2.6 Defining a symbol for the number of elements in an array 47

Listing 5.1 Selection in C 101

Listing 5.2 Selection in ARM assembly using conditional execution 102

Listing 5.3 Selection in ARM assembly using branch instructions 102

Listing 5.4 Complex selection in C 103

Listing 5.5 Complex selection in ARM assembly 104

Listing 5.6 Unconditional loop in ARM assembly 105

Listing 5.7 Pre-test loop in ARM assembly 105

Listing 5.8 Post-test loop in ARM assembly 106

Listing 5.9 for loop ...

Get Modern Assembly Language Programming with the ARM Processor now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.