What is assembly language?

Assembly language (ASM) is a low-level programming language that is compiled by an assembler. Every assembler is designed for a specific computer architecture. Programmers can write human-readable programs, using assembly language, that correspond to machine language.

Assembly languages are tied to specific computer architecture and are not portable.

svg viewer

Code

32-bit assembly language code on Windows

The extension for the assembly language code on windows is .asm, ​and NASM is used as an assembler. You can download NASM here.

message:
    db  'Hello :]', 10, 0
main:
    push    message
    call    _printf
    ret

New on Educative
Learn to Code
Learn any Language as a beginner
Develop a human edge in an AI powered world and learn to code with AI from our beginner friendly catalog
🏆 Leaderboard
Daily Coding Challenge
Solve a new coding challenge every day and climb the leaderboard

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved