Top "Intel-syntax" questions

Intel syntax (as opposed to AT&T syntax) is an x86 assembly syntax using "opcode dst, src", square brackets for memory operands, and keywords to set the size of an operand: e.g. add dword [eax], 123.

What does the dollar sign ($) mean in x86 assembly when calculating string lengths like "$ - label"?

For example, if we were writing a simple hello world type program, the .data section might contain something like: section .…

assembly x86 intel-syntax
How to set a variable in GCC with Intel syntax inline assembly?

Why doesn't this code set temp to 1? How do I actually do that? int temp; __asm__( ".intel_syntax;" "mov %0, eax;" "…

gcc inline-assembly intel-syntax
What do square brackets mean in x86 assembly?

I'm very new to assembly, and have some very basic questions. What is the difference between these four commands? mov …

assembly memory x86 intel-syntax
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
A couple of questions about [base + index*scale + disp]

The general form for memory addressing in Intel and AT&T Syntax is the following: [base + index*scale + disp] …

assembly x86 att addressing-mode intel-syntax
Intel x86 to ARM assembly conversion

I am currently learning ARM assembly language; To do so, I am trying to convert some x86 code (AT&…

c x86 arm intel-syntax