Modern Instructions for 64-Bit ARM CPUs
Building on Randall Hyde’s iconic series, The Art of ARM Assembly delves into programming 64-bit ARM CPUs—the powerhouses behind iPhones, Macs, Chromebooks, servers, and embedded systems.
Following a fast-paced introduction to the art of programming in assembly and the GNU Assembler (Gas) specifically, you’ll explore memory organization, data representation, and the basic logical operations you can perform on simple data types. You’ll learn how to define constants, write functions, manage local variables, and pass parameters efficiently. You’ll explore both basic and advanced arithmetic operations, control structures, numeric conversions, lookup tables, and string manipulation—in short, you’ll cover it all.
You’ll also dive into ARM SIMD (Neon) instructions, bit manipulation, and macro programming with the Gas assembler, as well as how to:
- Declare pointers and use composite data structures like strings, arrays, and unions
- Convert simple and complex arithmetic expressions into machine instruction sequences
- Use ARM addressing modes and expressions to access memory variables
- Create and use string library functions and build libraries of assembly code using makefiles
This hands-on guide will help you master ARM assembly while revealing the intricacies of modern machine architecture. You’ll learn to write more efficient high-level code and gain a deeper understanding of software-hardware interactions—essential skills for any programmer working with ARM-based systems.
Inhaltsverzeichnis
Introduction< BR> PART I: MACHINE ORGANIZATION< BR> Chapter 1: Hello, World of Assembly Language< BR> Chapter 2: Data Representation and Operations< BR> Chapter 3: Memory Access and Organization< BR> Chapter 4: Constants, Variables, and Data Types< BR> PART II: ASSEMBLY LANGUAGE PROGRAMMING< BR> Chapter 5: Procedures< BR> Chapter 6: Arithmetic< BR> Chapter 7: Low-Level Control Structures< BR> Chapter 8: 12-Bit Manipulation< BR> Chapter 9: Numeric Conversion< BR> Chapter 10: Table Lookups< BR> Chapter 11: SIMD/Neon Programming< BR> Chapter 12: Bit Manipulation< BR> Chapter 13: Macros and Gas-Compile Time Language< BR> Chapter 14: String Operations< BR> Chapter 15: Managing Complex Projects< BR> Chapter 16: Standalone Assembly Programs< BR> PART III: REFERENCE MATERIAL< BR> Appendix A: ASCII Character Set< BR> Appendix B: Glossary< BR> Appendix C: The BASH Shell Interpreter< BR> Appendix D: Some Useful C Language Features< BR> Appendix E: Answers to Questions