This is an introductory text for students first learning about the x64 processor and its assembly language. It covers the basics, starting with integers, and going on to arithmetic, looping, array processing, functions, floating-point, and OS facilities for I/O. Some knowledge of coding in a higher-level language is assumed. Students completing a course using this text will have a solid understanding of the assembly-level programming considerations and techniques for this most popular architecture.
It's intended that students receive guidance in the installation and usage of the particular development environment to be employed when coding and running programs. All coding examples in the text are shown using both the MASM and NASM syntaxes. AT&T syntax is not covered. The text and examples are written for 64-bit mode. Earlier architecture modes are not discussed.
Chapter 1. The x64 Environment
Chapter 2. A Complete Assembly Language Program
Chapter 3. Defining Data and Data Transfer using MOV
Chapter 4. Integer Arithmetic
Chapter 5. Flags, Jumps, If-Else, and Loops
Chapter 6. Array Processing
Chapter 7. Functions
Chapter 8. Using Operating System Input/Output Services
Chapter 9. Floating-Point Operations