Page 7 - ARM 64 Bit Assembly Language
P. 7

Contents

                     4.2   Data processing instructions ...................................................  86
                     4.3   Special instructions ............................................................ 104
                     4.4   Alphabetized list of AArch64 instructions.................................... 108
                     4.5   Chapter summary .............................................................. 110
                     Exercises ............................................................................... 110

                  Chapter 5: Structured programming .............................................. 113
                     5.1   Sequencing ..................................................................... 114
                     5.2   Selection ........................................................................ 114
                     5.3   Iteration ......................................................................... 119
                     5.4   Subroutines ..................................................................... 124
                     5.5   Aggregate data types ........................................................... 142
                     5.6   Chapter summary .............................................................. 148
                     Exercises ............................................................................... 150

                  Chapter 6: Abstract data types ................................................... 155
                     6.1   ADTs in assembly language ................................................... 155
                     6.2   Word frequency counts ........................................................ 158
                     6.3   Ethics case study: Therac-25 .................................................. 178
                     6.4   Chapter summary .............................................................. 183
                     Exercises ............................................................................... 183

                  Chapter 7: Integer mathematics .................................................. 187
                     7.1   Subtraction by addition ........................................................ 187
                     7.2   Binary multiplication .......................................................... 189
                     7.3   Binary division ................................................................. 198
                     7.4   Big integer ADT ............................................................... 212
                     7.5   Chapter summary .............................................................. 236
                     Exercises ............................................................................... 236

                  Chapter 8: Non-integral mathematics............................................. 239
                     8.1   Base conversion of fractional numbers........................................ 239
                     8.2   Fractions and bases ............................................................ 243
                     8.3   Fixed point numbers ........................................................... 246
                     8.4   Fixed point operations ......................................................... 252
                     8.5   Fixed point input and output................................................... 263
                     8.6   Computing sine and cosine .................................................... 267
                     8.7   Floating point numbers ........................................................ 283
                     8.8   Floating point operations ...................................................... 287
                     8.9   Ethics case study: patriot missile failure ...................................... 288



                                                          vi
   2   3   4   5   6   7   8   9   10   11   12