Systems & hardware

x86 Assembly

x86 assembly language is a family of backward-compatible assembly languages, which provide some level of compatibility all the way back to the Intel 8008 introduced in April 1972. x86 assembly languages are used to produce object code for the x86 class of processors.

Share this starting point code.study/x86-assembly
Created by
Intel
First appeared
1978
Official resource
Visit the main website

Your first program

Hello, World!

x86 Assembly
section .data
    hello db 'Hello, World!',0

section .text
    global _start

_start:
    mov edx, 13          ; message length
    mov ecx, hello       ; message to write
    mov ebx, 1           ; file descriptor (stdout)
    mov eax, 4           ; system call number (sys_write)
    int 0x80             ; call kernel

    ; Exit
    mov eax, 1           ; system call number (sys_exit)
    xor ebx, ebx         ; exit code 0
    int 0x80             ; call kernel

Keep learning

Where to go from here

Use trusted documentation for facts and an AI tutor for personalized explanations.

01

Official resource

Learn from the source

Continue with the language’s official documentation, project, or standards site.

Open official resource
02

Personalize it

Ask your AI tutor

Use a focused prompt covering strengths, tradeoffs, setup, and this first program.

Your prompt

Teach me the basics of x86 Assembly. Use https://code.study/x86-assembly as the starting point. Explain what x86 Assembly is best suited for, when I should not choose it, how to install or try it, and then walk me through its Hello World example step by step.

Content reviewed August 2026 · Start with primary sources and verify version-specific details.