Top "Assembly" questions

Assembly language questions.

Purpose of ESI & EDI registers?

What is the actual purpose and use of the EDI & ESI registers in assembler? I know they are used …

assembly x86
How can one see content of stack with GDB?

I am new to GDB, so I have some questions: How can I look at content of the stack? Example: …

c assembly gdb
What is the difference between MOV and LEA?

I would like to know what the difference between these instructions is: MOV AX, [TABLE-ADDR] and LEA AX, [TABLE-ADDR]

assembly x86 instruction-set
The point of test %eax %eax

Possible Duplicate: x86 Assembly - ‘testl’ eax against eax? I'm very very new to assembly language programming, and I'm currently …

assembly x86 att
Using GCC to produce readable assembly?

I was wondering how to use GCC on my C source file to dump a mnemonic version of the machine …

c gcc assembly
How to write hello world in assembler under Windows?

I wanted to write something basic in assembly under Windows, I'm using NASM, but I can't get anything working. How …

winapi assembly x86 nasm
How to disassemble a binary executable in Linux to get the assembly code?

I was told to use a disassembler. Does gcc have anything built in? What is the easiest way to do …

c++ linux assembly executable disassembly
Printing out a number in assembly language?

mov al,10 add al,15 How do I print the value of 'al'?

assembly x86 real-mode
What's the difference between a word and byte?

I've done some research. A byte is 8 bits and a word is the smallest unit that can be addressed on …

assembly memory hardware terminology cpu-architecture
Replacing a 32-bit loop counter with 64-bit introduces crazy performance deviations with _mm_popcnt_u64 on Intel CPUs

I was looking for the fastest way to popcount large arrays of data. I encountered a very weird effect: Changing …

c++ performance assembly x86 compiler-optimization