7 Excellent Free Books to Learn X86 Assembly – LinuxLinks

An assembly language is a low-level programming language for a computer or other programmable device. Assembly language is used by almost all modern desktop and laptop computers. it’s the closest thing to writing machine code without writing pure hex. it is converted into executable machine code by a utility program called an assembler.

Assembly language is rarely used by programmers today, but there are still good reasons to learn the language. it is the most powerful computer programming language available. While assembly language shares very little with high-level languages ​​(such as java, c#, python, etc), and assembly languages ​​for different cpu architectures often have little in common, it does provide programmers with the information they need to write efficient code in high-level languages.

You are reading: Assembly language programming books

Assembly language is also used primarily for direct hardware manipulation, access to specialized processor instructions, or to troubleshoot critical performance issues. assembly is excellent for optimizing speed.

1. programming from scratch by jonathan bartlett

Scratch Programming is an introductory book on programming and computer science using assembly language. teaches assembly language for x86 and linux processors. assumes the reader has never programmed before and introduces the concepts of variables, functions, and flow control.

The reason for using assembly language is to get the reader to think in terms of how the computer actually works. knowing how the computer works from a “bare-metal” point of view is often the difference between high-level programmers and programmers who can never quite master their craft.

This book should teach the reader to understand how a program works and interact with other programs, be able to read programmers’ code and learn how it works, learn new programming languages ​​quickly, and also learn advanced computer science concepts. quickly. the book includes review exercises at the end of each chapter.

See also  8 Best Headphones for Audiobooks [2022] - Headphonesty

chapter cover:

  • introduction.
  • computer architecture: structure of computer memory, cpu, performance memory, and data access methods.
  • your first programs: teaches the reader the process of writing and building linux assembly language programs, the structure of assembly language programs, and some assembly language commands.
  • all about functions: discusses how functions work, functions in assembly language using the c calling convention, and recursive functions.
  • dealing with files: the unix file concept, buffers and .bss, standard and special files, and using files in a program.
  • reading and writing simple registers: concerned with reading and writing fixed-length simple registers.
  • developing robust programs: concerned with developing programs that handle conditions gracefully. this is known as robust programming.
  • shared functions with code libraries: using a shared library, how shared libraries work, finding information about libraries, useful functions, and creating a shared library.
  • memory topics in between: how a computer sees memory, the memory layout of a linux program, getting more memory, a simple memory manager, and more.
  • count as one computer.
  • high-level languages: analyzes a “real world” programming language.
  • optimization: focuses on optimizing for speed.
  • from here.
  • appendices.

Permission is granted to copy, distribute and/or modify the book under the terms of the GNU Free Documentation License, version 1.1 or any later version published by the Free Software Foundation.

read the book

2. reverse engineering for beginners by dennis yurichev

See Also: 40 Singalong Books for Kids With Autism

Reverse Engineering for Beginners provides an introduction to reverse engineering, going deeper into reverse engineering at the disassembly code level and explaining how to crack assembly language for beginners who want to learn to understand x86 (which represents almost all executable software). in the world) and build code created by c/c++ compilers. scan x86/x64, arm/arm64, mips and java/jvm.

See also  The Best Books on The History of Science - Five Books Expert Recommendations

chapter cover:

  • Code patterns: hello world!, stack, printf(), scanf(), access to passed arguments, pointers, goto, conditional jumps, switch()/case/default, loops, unit floating point, arrays, manipulation of specific bits, structures, unions, pointers to functions, 64-bit values ​​in a 32-bit environment, and more.
  • important fundamentals: endianness, memory, and cpu.
  • slightly more advanced examples: temperature conversion, fibonacci numbers, iterators, duff device, inline functions, variadic functions, string trimming, obfuscation, c++ and more.
  • find important/interesting things in the code: strings, constants, suspicious code patterns and more.
  • OS specific: argument passing methods, thread local storage: system calls, linux and more.
  • tools.
  • examples of reverting to proprietary file formats.

The book is available in Russian and English, and partial translations are available in Chinese, German, French, Italian, and Brazilian Portuguese.

This work is licensed under a creative commons attribution-sharealike 4.0 international license (cc by-sa 4.0).

read the book

3. pc assembly language by paul carter

pc assembly language offers a good tutorial on 32-bit protected mode assembly programming on the x86 processor.

The tutorial has extensive coverage of C code and interface assembly, so it will be of interest to C programmers who want to learn how C works under the hood.

all examples use the free nasm (netwide) assembler.

chapter cover:

  • introduction: number systems, organization of computers, assembly language, and creating a program.
  • basic assembly language: explains how to work with integers, control structures, and translation of control structures standard. the chapter also discusses a program that finds prime numbers.
  • bitwise operations: shift operations, bitwise boolean operations, conditional branch avoidance, bit manipulation in c, big endian and little endian representations, and bit count.
  • subprograms: discusses the use of subprograms to create modular programs and to interact with high-level languages.
  • arrays: definition of arrays and array/string statements.
  • floating point – floating point representation, floating point arithmetic, the numeric coprocessor.
  • structures and c++.
See also  The 10 Best Books about Emotions and Feelings - Early Childhood Education Zone

See Also: Why We LOVE the Wings of Fire Books: Book Series Review

The book may be reproduced and distributed in its entirety, provided no charge is made for the document itself, without the consent of the author.

read the book

4. the art of assembly language programming by randall hyde

the art of assembly language programming (aoa), randy hyde’s acclaimed text on assembly language programming, is the most recommended book on assembly language programming 80×86 in newsgroups, websites, and by word of mouth in the mouth.

aoa teaches the fundamentals one must know to be considered an assembly language programmer, and aoa was written by a renowned x86 assembly language programming expert.

There are 4 different editions available.

read the book

next page: page 2 – x86-64 assembly language programming with ubuntu and more books

pages of this article: page 1: programming from scratch and more books page 2: x86-64 assembly language programming with ubuntu and more books

all books in this series:

See Also: Free Teenager & Young Adult Audiobooks

Leave a Reply

Your email address will not be published. Required fields are marked *