NASM 2.16 (x86_64)

Online Assembly Compiler

Low-level x86/x64 NASM assembly playground with register and memory inspection. Write code with auto-formatting, test with standard input (stdin), and inspect terminal output in real-time.

✓ x86-64 NASM assembler syntax✓ Register operations (RAX, RBX, RCX, RDX)✓ Linux 64-bit syscall interface✓ Bitwise logic and pointer arithmetic
main.asm
NASM 2.16 (x86_64)
13px
Standard Input (stdin)
Passed to scanf, input(), cin, etc.
UTF-8Assembly (x86)2 SpacesWrap: Off
Ctrl+Enter to Run
Ln 1, Col 123 lines605 chars
Output & ConsoleIdle

Ready to Compile & Run

Click the blue ▶ Run button in the header bar or press Ctrl + Enter to compile and execute your Online Assembly Compiler.

How to Run Assembly (x86) Code Online

Write low-level x86_64 assembly code, utilizing registers and system calls.

  1. Define section .data and section .text with global main, press "▶ Run".

Common Errors & Troubleshooting

Encountering compilation or runtime diagnostics? Check these common scenarios:

undefined symbolDeclare labels and extern symbols prior to reference.

Related Systems Programming Compilers

View all 35+ compilers →
C (GCC).c

Compile and run ISO C (C99, C11, C17, C23) code with GCC compiler and standard input

C++ (G++).cpp

Modern C++ (C++17, C++20, C++23) online compiler with STL, templates and competitive programming support

Rust (rustc).rs

Compile and execute memory-safe Rust programs with Cargo standard library

Go (Golang).go

Write, build and run concurrent Go programs with goroutines and channels

Frequently Asked Questions (Assembly (x86))

NASM (Netwide Assembler) syntax with Intel operand order.