Top "Nasm" questions

Nasm is the Netwide Assembler, an open-source x86/x64 assembler.

How to use scanf in NASM?

I'm trying to figure out how to use scanf to get user input. I know to use printf: all I …

assembly nasm
What is global _start in assembly language?

This is my assembly level code ... section .text global _start _start: mov eax, 4 mov ebx, 1 mov ecx, mesg mov edx, …

assembly nasm
Linux Shellcode "Hello, World!"

I have the following working NASM code: global _start section .text _start: mov eax, 0x4 mov ebx, 0x1 mov ecx, …

c linux assembly nasm shellcode
Declaring Arrays In x86 Assembly

I am learning Assembly and I need to make a large array. I have looked around at how to declare …

arrays assembly x86 nasm att
MASM/NASM Differences

What are the syntax differences between the NASM and MASM assemblers?

assembly x86 nasm masm
Basic yet thorough assembly tutorial (linux)?

I want to learn some practical assembly language having just learned the basic concepts in class. Are there any decent …

linux assembly nasm
Nasm Error: invalid combination of opcode and operands

In my quest to learn NASM, I am trying to create a really simple program that does a division and …

assembly x86 nasm cpu-registers integer-division
x86 ASM Linux - Using the .bss Section

I hope these questions is rather simple: (NASM Compiler, Linux, x86 Intel Syntax) PART 1: I am trying to figure out …

linux assembly x86 nasm
writing functions in assembler

I am writing code in assembler (nasm) and I want to include functions, at the moment I have function0: code …

assembly nasm
How many bytes do RESB, RESW, RESD, RESQ allocate in NASM?

DB allocates in chunks of 1 byte. DW allocates in chunks of 2 bytes. DD allocates in chunks of 4 bytes. DQ allocates …

assembly x86 nasm