Skip to main content

9 docs tagged with "isa"

View all tags

Address Space and Memory Model

Virtual address width, page granularity, alignment and the ordering contract that lets x86-64, ARM64 and RISC-V programs agree on what a shared memory write means.

Assembly and Toolchain

Preprocess, compile, assemble, link: the four stages, the directives and relocations each leaves behind, and how to read them back from ELF objects.

Compiler-ISA Contract

The two-way promise between a compiler and an instruction set: instruction semantics, ABI, alignment, memory model, undefined behaviour and target features.

Instruction Formats and Encoding

How opcodes, register numbers and immediates share a fixed word: the six RISC-V formats, x86-64 variable-length encoding, and the decode and code-size limits each choice buys.

ISA and Abstraction

The ISA as the binary contract between software and silicon: what it fixes, what it leaves to the microarchitecture, and how compatibility survives across generations.

ISA Classes

RISC and CISC as consequences of two choices, operand location and encoding width, with the real instruction counts, code sizes and decode limits of x86-64, ARM64 and RISC-V.

ISA Selection

Choosing an instruction set on ecosystem, energy, extensions and supply rather than on clock speed: x86-64, AArch64, RISC-V and the migration cost.

Procedure Calls and ABI

The binary contract behind a call: argument registers, callee-saved state, stack alignment and frame layout in System V AMD64, AAPCS64 and RISC-V.

Registers and Operands

Architectural registers across x86-64, ARM64 and RISC-V, the four operand kinds an instruction can encode, and why constant materialisation and calling conventions follow from register width.