Top "X86" questions

x86 is an architecture derived from the Intel 8086 CPU.

Generating a random number within range of 0-9 in x86 8086 Assembly

First of all, I am very new to 8086 Assembly and it has been pretty difficult for me the grab the …

assembly random x86 x86-16
What does multicore assembly language look like?

Once upon a time, to write x86 assembler, for example, you would have instructions stating "load the EDX register with …

assembly x86 cpu multicore smp
What is the best way to set a register to zero in x86 assembly: xor, mov or and?

All the following instructions do the same thing: set %eax to zero. Which way is optimal (requiring fewest machine cycles)? …

performance assembly optimization x86 micro-optimization
What do the brackets mean in x86 asm?

Given the following code: L1 db "word", 0 mov al, [L1] mov eax, L1 What do the brackets ([L1]) represent?

assembly x86 nasm
How to generate assembly code with clang in Intel syntax?

As this question shows, with g++, I can do g++ -S -masm=intel test.cpp. Also, with clang, I can …

c++ assembly x86 clang intel
Why is there not a register that contains the higher bytes of EAX?

%AX = (%AH + %AL) So why not %EAX = (%SOME_REGISTER + %AX) for some register %SOME_REGISTER?

x86 assembly
What does `dup (?)` mean in TASM?

I have this code here, but I'm unfamiliar with the syntax. STACK16_SIZE = 100h stack16 db STACK16_SIZE dup (?) I …

assembly x86 tasm
C# COM DLL: do I use Regasm, or Regsvr32?

I am building a C# ActiveX DLL... do I use REGASM or REGSVR32 to register it? How do I register …

com interop x86 64-bit activex
Why is Windows 32-bit called Windows x86 and not Windows x32?

The Windows operating system can be either 32 bit or 64 bit. The 64 bit version is called Windows x64 but the 32 bit …

windows x86 operating-system 32bit-64bit 32-bit
Deoptimizing a program for the pipeline in Intel Sandybridge-family CPUs

I've been racking my brain for a week trying to complete this assignment and I'm hoping someone here can lead …

c++ optimization x86 intel cpu-architecture