Instruction Set Architecture (ISA)
What You'll Learn
You'll understand how ISAs serve as the critical bridge between hardware and software, defining what operations a processor can perform.
What Is an ISA?
An Instruction Set Architecture (ISA) is essentially the contract between hardware and software. Think of it as a menu in a restaurant: it lists all the operations (dishes) that a CPU can perform, along with exactly how to request them. Just as a menu doesn't tell you how the kitchen prepares food, an ISA doesn't specify how the hardware executes instructions—only what instructions are available and their exact format.
The ISA defines:
- Available instructions (add, subtract, load, store, jump, etc.)
- Data types and their sizes (integers, floats)
- Registers accessible to programs
- Addressing modes (how to specify where data lives)
- Instruction formats (how bits encode each operation)
Why ISAs Matter
Different processor families use different ISAs. When you write assembly language or when a compiler generates machine code, it must target a specific ISA. A program compiled for one ISA won't run on a processor with a different ISA without translation.
Common ISA Examples
- x86/x86-64: Used in most desktop and laptop computers (Intel, AMD)
- ARM: Dominant in smartphones, tablets, and increasingly in laptops
- MIPS: Historically used in embedded systems and education
- RISC-V: An open-source ISA gaining popularity
Each has different philosophies: x86 is complex with many specialized instructions (CISC), while ARM and MIPS favor simpler, uniform instructions (RISC).
Key Takeaway: The ISA is the fundamental interface specification that allows software to control hardware, defining the complete vocabulary of operations a processor understands.