Top "Att" questions

AT&T Syntax is an assembly syntax used in UNIX environments, that originates from AT&T Bell Labs.

What does movslq do?

I have trouble finding out what movslq instruction does. Google isn't very helpful and there is no such instruction on …

assembly x86-64 att sign-extension
How cmp assembly instruction sets flags (X86_64 GNU Linux)

Here is a simple C program: void main() { unsigned char number1 = 4; unsigned char number2 = 5; if (number1 < number2) { number1 = 0; } } So …

assembly x86-64 att
Pointer Deferencing in x86 Assembly Code

I'm reading my textbook and it has code for a swap function: In C: int exchange(int *xp, int y) { …

c pointers assembly x86 att
Commenting syntax for x86 AT&T syntax assembly

The Intel syntax has comments using the semicolon. When I switched to AT&T, it actually tried to interpret …

assembly comments gnu-assembler att intel-syntax
What is an assembly-level representation of pushl/popl %esp?

C++ ATT Assembly I'm trying to understand the behavior of the following two instructions: pushl %esp And: popl %esp Note …

assembly x86 stack att
assembly leal and movl difference

leal(%eax,%ecx,4), %edx as I was reading from my computer systems book, if there`s premises that $eax contains …

assembly x86 att
What's the difference between 'push' and 'pushq' in at&t assembly

I've recently started my quest of obtaining a greater understanding as to how my computer works. My question is in …

linux assembly gdb reverse-engineering att
Difference between movq and movabsq in x86-64

I'm a newcomer here and just starting to study assembly language. So please correct me if I'm wrong, or if …

assembly x86-64 att instructions immediate-operand
Division in x86 Assembly GAS

Im not quite sure yet how division works in x86 assembly (GAS AT&T syntax). What i wanna do …

assembly x86 att
mov %eax,(%esp)

What is the difference between the following statements? mov %eax,%esp mov %eax,(%esp) I'm working on diffusing a binary …

assembly x86 att mov addressing-mode