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!
Here are links to each post:
- Say hello to x86_64 Assembly part 1
- Say hello to x86_64 Assembly part 2
- Say hello to x86_64 Assembly part 3
- Say hello to x86_64 Assembly part 4
- Say hello to x86_64 Assembly part 5
- Say hello to x86_64 Assembly part 6
- Say hello to x86_64 Assembly part 7
- Say hello to x86_64 Assembly part 8
To run code examples, you need the following tools:
Thanks to the volunteers, the posts about assembly programming are translated into different languages.
Note
The translations may diverge from the original content.
- 译文: Say hello to x64 Assembly [part 1]
- 译文: Say hello to x64 Assembly [part 2]
- 译文: Say hello to x64 Assembly [part 3]
- 译文: Say hello to x64 Assembly [part 4]
- 译文: Say hello to x64 Assembly [part 5]
- 译文: Say hello to x64 Assembly [part 6]
- 译文: Say hello to x64 Assembly [part 7]
- 译文: Say hello to x64 Assembly [part 8]
- X86_64 Assembly'a merhaba deyin bölüm 1
- X86_64 Assembly'a merhaba deyin bölüm 2
- X86_64 Assembly'a merhaba deyin bölüm 3
- X86_64 Assembly'a merhaba deyin bölüm 4
- X86_64 Assembly'a merhaba deyin bölüm 5
- X86_64 Assembly'a merhaba deyin bölüm 6
- X86_64 Assembly'a merhaba deyin bölüm 7
- X86_64 Assembly'a merhaba deyin bölüm 8
Read the Contribution guide to learn how to contribute to the project. When contributing, make sure to follow the Code of Conduct.
Each Markdown file in the repository is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
The technical content is written by @0xAX.
Additional big thanks to @klaudiagrz for text improvements.