Assembly (x86-64) Online Compiler

About the Assembly (x86-64) compiler

Talk directly to the CPU. Compiled online. Run Assembly (x86-64) code in your browser with no install and no signup — the editor, the input and the output share one screen. Assembly (x86-64) is executed by a remote runtime: your code is submitted to it and the output is returned to this page.

Press Run to execute the program, edit it and press Run again, or paste your own code over it. Everything you type stays in the page; the editor caches your work locally so a reload does not lose it.

A Assembly (x86-64) example

This is the program the Assembly (x86-64) editor opens with — run it as it is, then change it.

section .data
    header  db "x86-64 Assembly Demo", 10, 0
    hlen    equ $ - header
    nums    dq 64, 34, 25, 12, 22, 11, 90
    nlen    equ 7
    sum_msg db "Sum: ", 0
    max_msg db "Max: ", 0
    nl      db 10, 0
section .bss
    buf resb 20
section .text
    global _start
_start:
    ; Print header
    mov rax, 1
    mov rdi, 1
    mov rsi, header
    mov rdx, hlen
    syscall
    ; Calculate sum and max
    xor r8, r8          ; sum
    xor r9, r9          ; max
    mov rcx, nlen
    lea rsi, [nums]

The editor opens with the full program.

More Systems & Low-Level compilers

Browse all 109 languages — the same editor runs each of them, in the browser or on a shared runner.