⚙️ NASM
Web compiler · 2.16rc0
Assemble x86 code in your browser — powered by the NASM engine
📄 Source
.asm
; simple test – hello world (32-bit Linux syscall) bits 32 section .data msg db 'Hello, NASM!', 0xA len equ $ - msg section .text global _start _start: mov eax, 4 ; write mov ebx, 1 ; stdout mov ecx, msg mov edx, len int 0x80 mov eax, 1 ; exit xor ebx, ebx int 0x80
📋 Output
ready
⚡ Assemble
↔ Disassemble
⬇ Download
✕ Clear
↺ Reset example
Output
bin — flat binary
elf — ELF32 object
elf32 — ELF32 object
elf64 — ELF64 object
win32 — Win32 object
win64 — Win64 object
coff — COFF object
macho — Mach-O object
macho32 — Mach-O 32-bit
macho64 — Mach-O 64-bit
obj — MS-DOS 16/32-bit OMF
aout — Linux a.out
as86 — Linux as86
dbg — Debugging format
Ready
🛠
NASM 2.16rc0 · 32-bit