Skip to content
/ asm Public

Learning assembly for Linux x86_64

License

Notifications You must be signed in to change notification settings

0xAX/asm

Repository files navigation

Assembly programming

CC BY-NC-SA 4.0 Check Links star this repo fork this repo contributions welcome PRs Welcome

This repository contains blog posts that introduce the assembly programming language. For this moment, all the content and examples cover only the x86_64 processors and the GNU Linux operating system. In the future, I plan to post learning materials for the ARM64 architecture.

Whether you are an experienced programmer or not, these posts are intended for everyone to learn the assembly programming language. The posts cover the following topics:

  • Basic description of the x86_64 processor architecture
  • How to write, build, and run a simple program written in the assembly programming language
  • The main parts of which a program for Linux consists
  • Basics of memory allocation, what is stack and heap
  • What is a system call and how does your program interact with an operating system
  • How floating point numbers are represented in a computer memory
  • How to call assembly code from a C program
  • And many more...

Have fun!

Magic

Here are links to each post:

Requirements

To run code examples, you need the following tools:

Translations

Thanks to the volunteers, the posts about assembly programming are translated into different languages.

Note

The translations may diverge from the original content.

Chinese translation

Turkish translation

Korean translation

Contribution

Read the Contribution guide to learn how to contribute to the project. When contributing, make sure to follow the Code of Conduct.

License

Each Markdown file in the repository is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

Author

The technical content is written by @0xAX.

Additional big thanks to @klaudiagrz for text improvements.