The Art of 64-Bit Assembly: x86-64 Machine Organization and Programming, Volume 1

  • 16h 11m
  • Randall Hyde
  • No Starch Press
  • 2021

Randall Hyde's The Art of Assembly Language has long been the go-to guide for learning assembly language. In this long-awaited follow-up, Hyde presents a 64-bit rewrite of his seminal text. It not only covers the instruction set for today’s x86-64 class of processors in-depth (using MASM), but also leads you through the maze of assembly language programming and machine organization by showing you how to write code that mimics operations in high-level languages.

Beginning with a “quick-start” chapter that gets you writing basic ASM applications as rapidly as possible, Hyde covers the fundamentals of machine organization, computer data representation and operations, and memory access. He’ll teach you assembly language programming, starting with basic data types and arithmetic, progressing through control structures and arithmetic to advanced topics like table lookups and string manipulation. In addition to the standard integer instruction set, the book covers the x87 FPU, single-instruction, multiple-data (SIMD) instructions, and MASM’s very powerful macro facilities. Throughout, you’ll benefit from a wide variety of ready-to-use library routines that simplify the programming process.

You’ll learn how to:

  • Write standalone programs or link MASM programs with C/C++ code for calling routines in the C Standard Library
  • Organize variable declarations to speed up access to data, and how to manipulate data on the x86-64 stack
  • Implement HLL data structures and control structures in assembly language
  • Convert various numeric formats, like integer to decimal string, floating-point to string, and hexadecimal string to integer
  • Write parallel algorithms using SSE/AVX (SIMD) instructions
  • Use macros to reduce the effort needed to write assembly language code

The Art of 64-bit Assembly, Volume 1 builds on the timeless material of its iconic predecessor, offering a comprehensive masterclass on writing complete applications in low-level programming languages.

About the Author

Randall Hyde is an embedded software engineer who has worked in the medical, nuclear, consumer electronics, and entertainment industries. He taught assembly language programming at the University level for over 10 years and has written hundreds of thousands of lines of assembly code for embedded and commercial applications over the years.

In this Book

  • Foreword
  • Introduction
  • Hello, World of Assembly Language
  • Computer Data Representation and Operations
  • Memory Access and Organization
  • Constants, Variables, and Data Types
  • Procedures
  • Arithmetic
  • Low-Level Control Structures
  • Advanced Arithmetic
  • Numeric Conversion
  • Table Lookups
  • SIMD Instructions
  • Bit Manipulation
  • Macros and the MASM Compile-Time Language
  • The String Instructions
  • Managing Complex Projects
  • Stand-Alone Assembly Language Programs
SHOW MORE
FREE ACCESS