x86 Architecture 1-Byte Opcode Reference and Technical Documentation
By
eklitzke
Pulled from the oven just right. Trustworthy, fact-dense, deeply satisfying.
Summary
This technical article documents x86 architecture 1-byte opcodes, presenting a detailed reference table of hexadecimal opcode mappings to assembly instructions. It covers opcodes from 0x0h to 0x4xh, including operations like ADD, ADC, AND, XOR with various addressing modes and prefixes like LOCKable. The content appears to be a technical reference or documentation for low-level x86 assembly programming, with mentions of specific architectural details like REX2 prefix and historical context about opcode allocation decisions from 2001.
Key quotes
· 6 pulledx86 architecture1 byte opcodes
LOCKableADDEb,Gb
LOCKableADDEv,Gv
ADDGb,Eb
ADDGv,Ev
I did spot that zeroing the upper 32 bits of RAX leads to undesired non-NOP behavior, but failed to convince our team in 2001 to use one of the freed up 1-byte opcodes (a la UDB)
You might also wanna read
Reverse-engineering the Intel 8087: A look at microcode and register exchange
A detailed technical deep-dive into the Intel 8087 floating-point co-processor's microcode, specifically examining the register exchange ope
Zero-Copy GPU Inference from WebAssembly on Apple Silicon: Direct Memory Sharing Between Wasm and GPU
The article describes a technical breakthrough on Apple Silicon where WebAssembly modules can share linear memory directly with the GPU, ena
abacusnoir.com·1mo agoUnderstanding CPU Pipelining and Its Evolution into Branch Prediction
This article explores CPU pipelining concepts as part of a branch prediction series, explaining how modern processors optimize instruction e
Tailslayer: C++ Library for Reducing RAM Tail Latency from DRAM Refresh Stalls
Tailslayer is a C++ library designed to reduce tail latency in RAM reads caused by DRAM refresh stalls. It works by replicating data across
Understanding CPU Branch Prediction and Its Impact on Benchmarking
The article discusses how modern processors use branch prediction to execute multiple instructions per cycle, explaining that CPUs have rema
lemire.me·2mo agonCPU: AI-Native Computing Platform with Neural Network-Based Architecture
nCPU is an AI-native computing platform where every layer from arithmetic to operating system to compiler is either a trained neural network
