Assembly language (asm) programming questions. BE SURE TO ALSO TAG with the processor and/or instruction set you're using, as well as the assembler. WARNING: For .NET assemblies, use the tag [.net-assembly] instead. For Java ASM, use the tag [java-bytecode-asm] instead.
I'm confused about machine code and native code in the context of .NET languages. What is the difference
AMD has an ABI specification that describes the calling convention to use on x86-64. All OSes follow it, excep
When reading about assembler I often come across people writing that they push a certain register of the proce
I am trying to understand some assembly. The assembly as follows, I am interested in the testl line: 000319d
There seem to be a .CFI directive after every line and also there are wide varities of these ex.,.cfi_startpro
I was reading another question pertaining the efficiency of two lines of code, and the OP said that he looked
What is the actual purpose and use of the EDI & ESI registers in assembler? I know they are used for stri
xor eax, eax will always set eax to zero, right? So, why does MSVC++ sometimes put it in my executable
This is a somewhat low-level question. In x86 assembly there are two SSE instructions: MOVDQA xmmi, m128
All the following instructions do the same thing: set %eax to zero. Which way is optimal (requiring fewest mac
In the x86-64 Tour of Intel Manuals, I read Perhaps the most surprising fact is that an instruction such a
I would like to know what the difference between these instructions is: MOV AX, [TABLE-ADDR] and LEA AX,
I'm doing some assembly-level debugging in GDB. Is there a way to get GDB to show me the current assembly
Background: While optimizing some Pascal code with embedded assembly language, I noticed an unnecessary MOV i
What is the difference between object code, machine code and assembly code? Can you give a visual example of
In order to mitigate against kernel or cross-process memory disclosure (the Spectre attack), the Linux kernel1
How do you run a program all by itself without an operating system running? Can you create assembly programs t