Page 6 - ARM 64 Bit Assembly Language
P. 6
Contents
List of tables ..................................................................... ix
List of figures..................................................................... xi
Preface ........................................................................... xiii
Chapter 1: Introduction .......................................................... 1
1.1 Reasons to learn assembly ..................................................... 2
1.2 The ARM processor............................................................ 5
1.3 Computer data .................................................................. 7
1.4 Memory layout of an executing program ..................................... 27
1.5 Chapter summary .............................................................. 29
Exercises ............................................................................... 30
Chapter 2: GNU assembly syntax................................................. 33
2.1 Structure of an assembly program............................................. 33
2.2 What the assembler does....................................................... 36
2.3 GNU assembly directives ...................................................... 37
2.4 Chapter summary .............................................................. 49
Exercises ............................................................................... 49
Chapter 3: Load/store and branch instructions.................................... 53
3.1 CPU components and data paths .............................................. 53
3.2 AArch64 user registers......................................................... 54
3.3 Instruction components ........................................................ 58
3.4 Load and store instructions .................................................... 65
3.5 Branch instructions............................................................. 70
3.6 Chapter summary .............................................................. 80
Exercises ............................................................................... 80
Chapter 4: Data processing and other instructions ................................ 83
4.1 Operand2 ....................................................................... 83
v